layout: Implement word-break: break-all per CSS3-TEXT § 5.2.

This commit is contained in:
Patrick Walton 2015-01-01 16:34:51 -05:00
parent df6a7959df
commit 0627d4c599
5 changed files with 95 additions and 28 deletions

View file

@ -1322,6 +1322,9 @@ pub mod longhands {
// name per CSS-TEXT 6.2.
${single_keyword("overflow-wrap", "normal break-word")}
// TODO(pcwalton): Support `word-break: keep-all` once we have better CJK support.
${single_keyword("word-break", "normal break-all")}
${new_style_struct("Text", is_inherited=False)}
<%self:longhand name="text-decoration">