1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:07:36 +00:00

LibWeb: Make -webkit-appearance an alias for the appearance css property

This commit is contained in:
Bastiaan van der Plaat 2023-12-20 18:16:55 +01:00 committed by Andreas Kling
parent 387fecea7f
commit 44ff957784
3 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,4 @@
-webkit-appearance: auto
accent-color: auto accent-color: auto
align-content: stretch align-content: stretch
align-items: normal align-items: normal

View file

@ -1,4 +1,10 @@
{ {
"-webkit-appearance": {
"logical-alias-for": [
"appearance"
],
"max-values": 1
},
"accent-color": { "accent-color": {
"inherited": true, "inherited": true,
"initial": "auto", "initial": "auto",

View file

@ -395,6 +395,8 @@ static void set_property_expanding_shorthands(StyleProperties& style, CSS::Prope
return PropertyID::Left; return PropertyID::Left;
case PropertyID::InsetInlineEnd: case PropertyID::InsetInlineEnd:
return PropertyID::Right; return PropertyID::Right;
case PropertyID::WebkitAppearance:
return PropertyID::Appearance;
default: default:
return {}; return {};
} }