diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-line-clamp-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-line-clamp-001.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-line-clamp-001.html b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-line-clamp-001.html new file mode 100644 index 0000000000..292e655464 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-line-clamp-001.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<link rel="help" href="https://w3c.github.io/csswg-drafts/css-text-4/#valdef-text-wrap-balance"> +<link rel="match" href="reference/text-wrap-balance-line-clamp-001-ref.html"> +<style> +.container { + font-family: monospace; + font-size: 20px; + width: 20ch; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; + text-wrap: balance; +} +</style> +<div class="container"> + 123 567 901 345 789 + 123 567 901 345 789 + 123 +</div> |