diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-01-09 11:45:38 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-01-29 17:00:41 -0800 |
commit | 5fdaba05a69993b05de79a35f56911f05594e6f0 (patch) | |
tree | ca384e6fcdb2ccbbdd8d2bae42422f464d935035 /tests/ref/text_overflow_basic_ref.html | |
parent | f58a129251068a6e63b40d0bc46805a60398433a (diff) | |
download | servo-5fdaba05a69993b05de79a35f56911f05594e6f0.tar.gz servo-5fdaba05a69993b05de79a35f56911f05594e6f0.zip |
layout: Implement `text-align: justify` and `text-justify` per
CSS-TEXT-3 § 7.3.
`text-justify: distribute` is not supported.
The behavior of `text-justify: none` does not seem to match what Firefox
and Chrome do, but it seems to match the spec.
Closes #213.
Diffstat (limited to 'tests/ref/text_overflow_basic_ref.html')
-rw-r--r-- | tests/ref/text_overflow_basic_ref.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/text_overflow_basic_ref.html b/tests/ref/text_overflow_basic_ref.html new file mode 100644 index 00000000000..a5f10212310 --- /dev/null +++ b/tests/ref/text_overflow_basic_ref.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> +<style> +section { + border: solid black 1px; + width: 10em; +} +</style> +</head> +<body> +<section>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx asdf asdf asdf</section> +</body> +</html> + |