summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-justify-003-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-justify-003-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-justify-003-ref.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-justify-003-ref.html b/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-justify-003-ref.html
new file mode 100644
index 0000000000..d72988230e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/white-space/reference/white-space-pre-wrap-justify-003-ref.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>CSS Text reference</title>
+
+<style>
+div {
+ border: 1px solid gray;
+ font: 22px monospace;
+ width: 22ch;
+ margin: 1em;
+}
+.ref {
+ white-space: normal;
+ text-align: justify;
+}
+</style>
+
+<p>Test passes if the two blocks are rendered identically</p>
+
+<div class=ref>one two&nbsp; three<br>&nbsp; &nbsp;four&nbsp; five&nbsp; six seven &nbsp; eight &nbsp; nine ten</div>
+
+<div class=ref>one two&nbsp; three<br>&nbsp; &nbsp;four&nbsp; five&nbsp; six seven &nbsp; eight &nbsp; nine ten</div>