1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:27:43 +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
align-content: stretch
align-items: normal

View file

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

View file

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