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:
Jonathan Kew 2019-04-14 11:06:41 +00:00 committed by Emilio Cobos Álvarez
parent 7e8e3fe4de
commit a9e473c6e8
6 changed files with 176 additions and 4 deletions

View file

@ -347,6 +347,7 @@ class Longhand(object):
"TextAlign",
"TextDecorationLine",
"TextEmphasisPosition",
"TextTransform",
"TouchAction",
"TransformStyle",
"UserSelect",

View file

@ -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",