summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/display-with-overflow.html
blob: 33df26c3ee0eb5ba6c39bbc17ae391118626fc00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1416539">
<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>