mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1224013 part 1 - Enable text-emphasis in UA sheets. r=dbaron
The only usage of text-emphasis in UA sheets is to clear it on ruby text. Making it enabled in UA sheets allows that rule to take effect without additional code to reload html.css when the pref changes.
This commit is contained in:
parent
7fbcc84e08
commit
4f8dbcd83b
@ -818,10 +818,8 @@ rtc, rt {
|
||||
font-variant-east-asian: ruby;
|
||||
%endif
|
||||
}
|
||||
@supports (text-emphasis: none) {
|
||||
rtc, rt {
|
||||
text-emphasis: none;
|
||||
}
|
||||
rtc, rt {
|
||||
text-emphasis: none;
|
||||
}
|
||||
rtc:lang(zh), rt:lang(zh) {
|
||||
ruby-align: center;
|
||||
|
@ -3269,14 +3269,16 @@ CSS_PROP_SHORTHAND(
|
||||
text-emphasis,
|
||||
text_emphasis,
|
||||
TextEmphasis,
|
||||
CSS_PROPERTY_PARSE_FUNCTION,
|
||||
CSS_PROPERTY_PARSE_FUNCTION |
|
||||
CSS_PROPERTY_ENABLED_IN_UA_SHEETS,
|
||||
"layout.css.text-emphasis.enabled")
|
||||
CSS_PROP_TEXT(
|
||||
text-emphasis-color,
|
||||
text_emphasis_color,
|
||||
TextEmphasisColor,
|
||||
CSS_PROPERTY_PARSE_VALUE |
|
||||
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED,
|
||||
CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED |
|
||||
CSS_PROPERTY_ENABLED_IN_UA_SHEETS,
|
||||
"layout.css.text-emphasis.enabled",
|
||||
VARIANT_HC,
|
||||
nullptr,
|
||||
@ -3287,7 +3289,8 @@ CSS_PROP_TEXT(
|
||||
text_emphasis_position,
|
||||
TextEmphasisPosition,
|
||||
CSS_PROPERTY_PARSE_VALUE |
|
||||
CSS_PROPERTY_VALUE_PARSER_FUNCTION,
|
||||
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
|
||||
CSS_PROPERTY_ENABLED_IN_UA_SHEETS,
|
||||
"layout.css.text-emphasis.enabled",
|
||||
0,
|
||||
kTextEmphasisPositionKTable,
|
||||
@ -3298,7 +3301,8 @@ CSS_PROP_TEXT(
|
||||
text_emphasis_style,
|
||||
TextEmphasisStyle,
|
||||
CSS_PROPERTY_PARSE_VALUE |
|
||||
CSS_PROPERTY_VALUE_PARSER_FUNCTION,
|
||||
CSS_PROPERTY_VALUE_PARSER_FUNCTION |
|
||||
CSS_PROPERTY_ENABLED_IN_UA_SHEETS,
|
||||
"layout.css.text-emphasis.enabled",
|
||||
0,
|
||||
nullptr,
|
||||
|
Loading…
Reference in New Issue
Block a user