summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-align/text-align-last-simple-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text/text-align/text-align-last-simple-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-text/text-align/text-align-last-simple-ref.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/text-align/text-align-last-simple-ref.html b/testing/web-platform/tests/css/css-text/text-align/text-align-last-simple-ref.html
new file mode 100644
index 0000000000..3c8ba2e580
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/text-align/text-align-last-simple-ref.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link rel="stylesheet" href="/fonts/ahem.css">
+<style>
+.test {
+ width: 208px;
+ border: 1px solid #000000;
+ font-family: Ahem, monospace;
+ font-size: 1em;
+}
+</style>
+</head>
+<body>
+<div>
+This test checks that text-align-last property works properly.<br/>
+</div>
+<div class="test" style="text-align: end">start end</div>
+
+<div class="test" style="text-align: start">end start</div>
+
+<div class="test" style="text-align: right">left right</div>
+
+<div class="test" style="text-align: left">right left</div>
+
+<div class="test" style="text-align: left">center left</div>
+
+<div class="test" style="text-align: start">start auto</div>
+
+<div class="test" style="text-align: end">end auto</div>
+
+<div class="test" style="text-align: left">left auto</div>
+
+<div class="test" style="text-align: right">right auto</div>
+
+<div class="test" style="text-align: center">center auto</div>
+
+<div class="test" style="text-align: start">justify auto</div>
+
+<div class="test" style="text-align: start">auto&nbsp; justify</div>
+</body>
+</html>