Summary: This property selects the justification method used when a line’s
alignment is set to justify
<https://drafts.csswg.org/css-text-3/#valdef-text-align-justify>, i.e.,
text-align: justify.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=276079

Link to standard: https://drafts.csswg.org/css-text-3/#text-justify-property

Platform coverage: All platforms

Estimated or target release: Firefox 54

Preference behind which this will be implemented:
layout.css.text-justify.enabled

DevTools bug: It's not yet clear to me whether specific DevTools work will
be needed.

Do other browser engines implement this?
Currently, the values specified by spec. are

auto | none | inter-word | inter-character

plus distribute as a legacy alias for inter-character.

*IE & Edge*
Support inter-word, but not inter-character or none.

*Blink*
inter-word and distribute values are supported behind the "Experimental
platform features" flag.
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=248894

*WebKit*
According to caniuse <http://caniuse.com/#search=text-justify>, WebKit
doesn't support any of these values yet.
Bug: https://bugs.webkit.org/show_bug.cgi?id=99945

Tests - URLs / paths to tests (preferably web-platform-tests)
Not yet written.
There's a css-text-3
<https://github.com/w3c/csswg-test/tree/master/css-text-3> folder in W3C
CSS Test Suite which has some text-justify tests already.
If those tests are not sufficient, I might add some more to the folder.


Jeremy Chen
Software Engineer, Mozilla Corporation
jeremyc...@mozilla.com
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to