mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
style: Allow full-width and/or full-size-kana values of text-transform to be combined with a case transformation.
Differential Revision: https://phabricator.services.mozilla.com/D27402
This commit is contained in:
parent
7e8e3fe4de
commit
a9e473c6e8
6 changed files with 176 additions and 4 deletions
|
@ -347,6 +347,7 @@ class Longhand(object):
|
|||
"TextAlign",
|
||||
"TextDecorationLine",
|
||||
"TextEmphasisPosition",
|
||||
"TextTransform",
|
||||
"TouchAction",
|
||||
"TransformStyle",
|
||||
"UserSelect",
|
||||
|
|
|
@ -19,11 +19,10 @@ ${helpers.predefined_type(
|
|||
|
||||
// CSS Text Module Level 3
|
||||
|
||||
// TODO(pcwalton): `full-width`
|
||||
${helpers.single_keyword(
|
||||
${helpers.predefined_type(
|
||||
"text-transform",
|
||||
"none capitalize uppercase lowercase",
|
||||
extra_gecko_values="full-width full-size-kana",
|
||||
"TextTransform",
|
||||
"computed::TextTransform::none()",
|
||||
animation_value_type="discrete",
|
||||
flags="APPLIES_TO_FIRST_LETTER APPLIES_TO_FIRST_LINE APPLIES_TO_PLACEHOLDER",
|
||||
spec="https://drafts.csswg.org/css-text/#propdef-text-transform",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue