summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1-ref.html')
-rw-r--r--layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1-ref.html b/layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1-ref.html
new file mode 100644
index 000000000..82ab51df0
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/values3/calc-offsets-relative-left-1-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>CSS Reference: Test for left:calc() on relatively positioned elements</title>
+ <link rel="author" title="L. David Baron" href="https://dbaron.org/">
+ <meta name="flags" content="">
+<style type="text/css">
+body { margin: 0 100px; width: 100px }
+div[style] { background: blue; position: relative; height: 3px; }
+</style>
+</head>
+<body>
+
+<div style="left: 50px"></div>
+<div style="left: -50px"></div>
+<div style="left: 75px"></div>
+<div style="left: -45px"></div>
+<div style="left: 40px"></div>
+<div style="left: -30px"></div>
+</body>
+</html>