mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
layout: Implement word-break: break-all
per CSS3-TEXT § 5.2.
This commit is contained in:
parent
df6a7959df
commit
0627d4c599
5 changed files with 95 additions and 28 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue