mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
style: Implement the CSS line-break property, with values "auto | anywhere".
Note that the "loose | normal | strict" values are not yet parsed/implemented. Differential Revision: https://phabricator.services.mozilla.com/D29817
This commit is contained in:
parent
67909022a0
commit
0dc70cf7f2
6 changed files with 40 additions and 3 deletions
|
@ -264,6 +264,16 @@ ${helpers.predefined_type(
|
|||
spec="https://drafts.csswg.org/css-text-3/#tab-size-property",
|
||||
)}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"line-break",
|
||||
"LineBreak",
|
||||
"computed::LineBreak::Auto",
|
||||
products="gecko",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.csswg.org/css-text-3/#line-break-property",
|
||||
needs_context=False,
|
||||
)}
|
||||
|
||||
// CSS Compatibility
|
||||
// https://compat.spec.whatwg.org
|
||||
${helpers.predefined_type(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue