Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="match" href="display-with-overflow-ref.html">
<meta name="assert" content="Use safe centering (so that content is reachable with scroll) for display=block centering.">
<style>
math {
width: 20px;
padding: 5px;
font-size: 40px;
overflow-x: scroll;
overflow-y: hidden;
}
</style>
<math display="block">
<mn>text</mn>
</math>
<math display="block" style="direction: rtl;">
<mn>text</mn>
</math>