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