summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/display-with-overflow-ref.html
blob: b359414dc2d37d73bebc4b5ed6de6d2706593a07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<style>
div {
  width: 20px;
  padding: 5px;
  font-size: 40px;
  overflow-x: scroll;
  overflow-y: hidden;
}
</style>
<div>
  <math display="block" style="width: min-content;">
    <mn>text</mn>
  </math>
</div>
<div style="direction: rtl;">
  <math display="block" style="width: min-content;">
    <mn>text</mn>
  </math>
</div>