summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-align-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-align-001.html')
-rw-r--r--testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-align-001.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-align-001.html b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-align-001.html
new file mode 100644
index 0000000000..b27823b72a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-align-001.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-text-4/#valdef-text-wrap-balance">
+<link rel="match" href="reference/text-wrap-balance-align-001-ref.html">
+<style>
+.container {
+ font-family: monospace;
+ font-size: 20px;
+ width: 20ch;
+ border: solid 1px;
+ text-wrap: balance;
+}
+</style>
+<div class="container" style="text-align: right">
+ 123456789 123 567
+ 123456789 123 567
+</div>
+<div class="container" style="text-align: center">
+ 123456789 123 567
+ 123456789 123 567
+</div>
+<div class="container" style="text-align: justify">
+ 123456789 123 567
+ 123456789 123 567
+</div>