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:
parent
387fecea7f
commit
44ff957784
3 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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 {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue