diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /layout/reftests/text/word-spacing-01-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/text/word-spacing-01-ref.html')
-rw-r--r-- | layout/reftests/text/word-spacing-01-ref.html | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/layout/reftests/text/word-spacing-01-ref.html b/layout/reftests/text/word-spacing-01-ref.html new file mode 100644 index 0000000000..5bf7c331af --- /dev/null +++ b/layout/reftests/text/word-spacing-01-ref.html @@ -0,0 +1,53 @@ +<!DOCTYPE HTML> +<html> +<head> +<style> +span { display:inline-block; width:10ch; } +/* first tab-position will be at 2 * (space-width + word-spacing), i.e. 22ch, + so to advance there after the 3-ch word "tab" we need 19ch of added space */ +span.tab { width: 19ch; } +</style> +</head> +<body style="font-family: monospace; width: 433px; height: 590px;"> + +<table border="1"> +<tr><td>space <span></span>.</td> +<tr><td>nonbreaking-space <span></span>.</td> +<tr><td>ideographic-space .</td> +<tr><td>newline +<span></span>.</td> +<tr><td>tab	<span></span>.</td> +<tr><td>form-feed.</td> +</table> + +<table border="1" style="white-space:pre"> +<tr><td>space <span></span>.</td> +<tr><td>nonbreaking-space <span></span>.</td> +<tr><td>ideographic-space .</td> +<tr><td>newline +.</td> +<tr><td>tab<span class=tab></span>.</td> +<tr><td>form-feed.</td> +</table> + +<table border="1" style="white-space:nowrap"> +<tr><td>space <span></span>.</td> +<tr><td>nonbreaking-space <span></span>.</td> +<tr><td>ideographic-space .</td> +<tr><td>newline <span></span>.</td> +<tr><td>tab	<span></span>.</td> +<tr><td>form-feed.</td> +</table> + +<table border="1" style="white-space:pre-wrap"> +<tr><td>space <span></span>.</td> +<tr><td>nonbreaking-space <span></span>.</td> +<tr><td>ideographic-space .</td> +<tr><td>newline +.</td> +<tr><td>tab<span class=tab></span>.</td> +<tr><td>form-feed.</td> +</table> + +</body> +</html> |