summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/normal-flow/video-paint-order.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/normal-flow/video-paint-order.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/normal-flow/video-paint-order.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/normal-flow/video-paint-order.html b/testing/web-platform/tests/css/CSS2/normal-flow/video-paint-order.html
new file mode 100644
index 0000000000..5c259606be
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/normal-flow/video-paint-order.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<title>Video paint order</title>
+<link rel="author" title="Philip Rogers" href="pdr@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/CSS2/zindex.html">
+<link rel="match" href="video-paint-order-ref.html">
+<style>
+ video {
+ background: red;
+ width: 95px;
+ height: 95px;
+ }
+ #negative-margin {
+ display: inline-block;
+ width: 100px;
+ height: 100px;
+ background: green;
+ margin-left: -100px;
+ }
+</style>
+<video></video>
+<!-- #negative-margin should paint fully on top of the video. -->
+<div id="negative-margin"></div>