summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/display-with-overflow.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/relations/css-styling/display-with-overflow.html')
-rw-r--r--testing/web-platform/tests/mathml/relations/css-styling/display-with-overflow.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/relations/css-styling/display-with-overflow.html b/testing/web-platform/tests/mathml/relations/css-styling/display-with-overflow.html
new file mode 100644
index 0000000000..33df26c3ee
--- /dev/null
+++ b/testing/web-platform/tests/mathml/relations/css-styling/display-with-overflow.html
@@ -0,0 +1,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>