aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm')
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm
new file mode 100644
index 00000000000..b615298308b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-align-start-ref-002.htm
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en"><head>
+<meta charset="utf-8">
+<title>text-align: start, direction: ltr</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida">
+<style type="text/css">
+.test { text-align: start; direction: ltr; }
+/* the CSS below is not part of the test */
+.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
+.ref { position: relative; height: 24px; }
+#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
+</style>
+</head>
+<body>
+<div id="instructions">Test passes if the shading in both orange boxes looks the same.</div>
+<div style="direction: rtl;">
+<div class="ref"><div id="rb1"></div></div>
+<div class="ref"><div id="rb1"></div></div>
+</div>
+
+</body></html> \ No newline at end of file