summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/fixedpos-video-in-abspos-quirk-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/fixedpos-video-in-abspos-quirk-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/fixedpos-video-in-abspos-quirk-crash.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/fixedpos-video-in-abspos-quirk-crash.html b/testing/web-platform/tests/css/css-flexbox/fixedpos-video-in-abspos-quirk-crash.html
new file mode 100644
index 0000000000..80cae086ca
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/fixedpos-video-in-abspos-quirk-crash.html
@@ -0,0 +1,13 @@
+<!-- Quirks mode needed -->
+<title>CSS Flexbox: fixed positioned video in absolute positioned on quirks mode</title>
+<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-containers">
+<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#percentage-sizing">
+<link rel="help" href="https://crbug.com/841276">
+<meta name="assert" content="This test ensures that a video works with fixed position in absolute position on quirks mode.">
+<div style="position:absolute;">
+ <div>
+ <!-- Video element may work with shadow DOM using flex for media controls.
+ This is mostly useful for browsers that use flex inside of video.-->
+ <video style="position:fixed;"></video>
+ </div>
+</div>