mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Make color-adjust an alias of print-color-adjust as per spec
Differential Revision: https://phabricator.services.mozilla.com/D134779
This commit is contained in:
parent
fcc55f2156
commit
01e43a8488
6 changed files with 20 additions and 10 deletions
|
@ -501,6 +501,7 @@ class Longhand(Property):
|
|||
"OverscrollBehavior",
|
||||
"Percentage",
|
||||
"PositiveIntegerOrNone",
|
||||
"PrintColorAdjust",
|
||||
"Resize",
|
||||
"RubyPosition",
|
||||
"SVGOpacity",
|
||||
|
|
|
@ -56,15 +56,14 @@ ${helpers.single_keyword(
|
|||
spec="https://drafts.csswg.org/css-writing-modes/#propdef-text-orientation",
|
||||
)}
|
||||
|
||||
// CSS Color Module Level 4
|
||||
// https://drafts.csswg.org/css-color/
|
||||
${helpers.single_keyword(
|
||||
"color-adjust",
|
||||
"economy exact",
|
||||
${helpers.predefined_type(
|
||||
"print-color-adjust",
|
||||
"PrintColorAdjust",
|
||||
"computed::PrintColorAdjust::Economy",
|
||||
engines="gecko",
|
||||
gecko_enum_prefix="StyleColorAdjust",
|
||||
aliases="color-adjust",
|
||||
spec="https://drafts.csswg.org/css-color-adjust/#print-color-adjust",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.csswg.org/css-color/#propdef-color-adjust",
|
||||
)}
|
||||
|
||||
// According to to CSS-IMAGES-3, `optimizespeed` and `optimizequality` are synonyms for `auto`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue