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:
parent
387fecea7f
commit
44ff957784
3 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
-webkit-appearance: auto
|
||||
accent-color: auto
|
||||
align-content: stretch
|
||||
align-items: normal
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
{
|
||||
"-webkit-appearance": {
|
||||
"logical-alias-for": [
|
||||
"appearance"
|
||||
],
|
||||
"max-values": 1
|
||||
},
|
||||
"accent-color": {
|
||||
"inherited": true,
|
||||
"initial": "auto",
|
||||
|
|
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue