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 /components/script/dom/webidls/CSSStyleDeclaration.webidl | |
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 'components/script/dom/webidls/CSSStyleDeclaration.webidl')
-rw-r--r-- | components/script/dom/webidls/CSSStyleDeclaration.webidl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CSSStyleDeclaration.webidl b/components/script/dom/webidls/CSSStyleDeclaration.webidl index 70998624dc4..0d716d4ab15 100644 --- a/components/script/dom/webidls/CSSStyleDeclaration.webidl +++ b/components/script/dom/webidls/CSSStyleDeclaration.webidl @@ -121,6 +121,7 @@ partial interface CSSStyleDeclaration { [TreatNullAs=EmptyString] attribute DOMString textAlign; [TreatNullAs=EmptyString] attribute DOMString textDecoration; [TreatNullAs=EmptyString] attribute DOMString textIndent; + [TreatNullAs=EmptyString] attribute DOMString textJustify; [TreatNullAs=EmptyString] attribute DOMString textOrientation; [TreatNullAs=EmptyString] attribute DOMString textRendering; [TreatNullAs=EmptyString] attribute DOMString textTransform; |