summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1147834-relative-overconstrained-vertical-rl-ltr.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1147834-relative-overconstrained-vertical-rl-ltr.html')
-rw-r--r--layout/reftests/writing-mode/1147834-relative-overconstrained-vertical-rl-ltr.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1147834-relative-overconstrained-vertical-rl-ltr.html b/layout/reftests/writing-mode/1147834-relative-overconstrained-vertical-rl-ltr.html
new file mode 100644
index 0000000000..cbed4d39d9
--- /dev/null
+++ b/layout/reftests/writing-mode/1147834-relative-overconstrained-vertical-rl-ltr.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Overconstrained relative positioning</title>
+ <style>
+ .test {
+ border: 1px solid black;
+ height: 200px;
+ width: 400px;
+ writing-mode: vertical-rl;
+ direction: ltr;
+ }
+ #inner1 {
+ position: relative;
+ left: 40px;
+ right: 40px;
+ top: 20px;
+ bottom: 20px;
+ height: 180px;
+ width: 360px;
+ background-color: teal;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="test">
+ <div id="inner1"></div>
+ </div>
+ </body>
+</html>