summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-rtl.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-rtl.html')
-rw-r--r--layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-rtl.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-rtl.html b/layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-rtl.html
new file mode 100644
index 000000000..a2d8f2290
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-rtl.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html dir="rtl">
+ <head>
+ <title>CSS Text: text-align: match-parent</title>
+ <link rel="author" title="Simon Montagu" href="mailto:smontagu@mozilla.com">
+ <link rel="help" href="http://www.w3.org/TR/css-text-3/#text-align-property">
+ <meta name="assert" content="Text checks that
+ text-align: match-parent on a root element with dir=rtl is
+ equivalent to text-align: start">
+ <link rel="match" href="text-align-match-parent-root-rtl-ref.html">
+ <style type="text/css">
+html { text-align: match-parent; }
+ </style>
+ </head>
+ <body>
+ <p>This line should be aligned right</p>
+ </body>
+</html>