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:
Emilio Cobos Álvarez 2023-06-06 23:28:52 +02:00 committed by Oriol Brufau
parent fcc55f2156
commit 01e43a8488
6 changed files with 20 additions and 10 deletions

View file

@ -501,6 +501,7 @@ class Longhand(Property):
"OverscrollBehavior",
"Percentage",
"PositiveIntegerOrNone",
"PrintColorAdjust",
"Resize",
"RubyPosition",
"SVGOpacity",

View file

@ -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`