summaryrefslogtreecommitdiff
path: root/layout/reftests/writing-mode/1127488-align-end-vertical-lr-ltr.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1127488-align-end-vertical-lr-ltr.html')
-rw-r--r--layout/reftests/writing-mode/1127488-align-end-vertical-lr-ltr.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1127488-align-end-vertical-lr-ltr.html b/layout/reftests/writing-mode/1127488-align-end-vertical-lr-ltr.html
new file mode 100644
index 0000000000..a01ed838d8
--- /dev/null
+++ b/layout/reftests/writing-mode/1127488-align-end-vertical-lr-ltr.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title>CSS Writing Modes</title>
+ <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
+ <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes">
+ <style type="text/css">
+ body {
+ margin: 0;
+ }
+ div.outer {
+ background: red url("left-bottom-300x300.png");
+ height: 300px;
+ width: 300px;
+ text-align: end;
+ writing-mode: vertical-lr;
+ direction: ltr;
+ }
+ div.inner {
+ display: inline-block;
+ background-color: green;
+ height: 100px;
+ width: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="outer"><div class="inner"></div></div>
+ </body>
+</html>