aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CSSStyleDeclaration.webidl
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-01-09 11:45:38 -0800
committerPatrick Walton <pcwalton@mimiga.net>2015-01-29 17:00:41 -0800
commit5fdaba05a69993b05de79a35f56911f05594e6f0 (patch)
treeca384e6fcdb2ccbbdd8d2bae42422f464d935035 /components/script/dom/webidls/CSSStyleDeclaration.webidl
parentf58a129251068a6e63b40d0bc46805a60398433a (diff)
downloadservo-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.webidl1
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;