mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
LibWeb: Mark a bunch of CSS border-* properties as not affecting layout
border*-width and border-collapse affect layout, but all the color, style and radius ones will only need a repaint if changed. :^)
This commit is contained in:
parent
cc77bb5067
commit
bec0c96aea
1 changed files with 15 additions and 0 deletions
|
@ -164,6 +164,7 @@
|
|||
]
|
||||
},
|
||||
"border-bottom-color": {
|
||||
"affects-layout": false,
|
||||
"initial": "currentcolor",
|
||||
"inherited": false,
|
||||
"valid-types": [
|
||||
|
@ -174,6 +175,7 @@
|
|||
]
|
||||
},
|
||||
"border-bottom-left-radius": {
|
||||
"affects-layout": false,
|
||||
"initial": "0",
|
||||
"inherited": false,
|
||||
"max-values": 2,
|
||||
|
@ -183,6 +185,7 @@
|
|||
]
|
||||
},
|
||||
"border-bottom-right-radius": {
|
||||
"affects-layout": false,
|
||||
"initial": "0",
|
||||
"inherited": false,
|
||||
"max-values": 2,
|
||||
|
@ -192,6 +195,7 @@
|
|||
]
|
||||
},
|
||||
"border-bottom-style": {
|
||||
"affects-layout": false,
|
||||
"initial": "none",
|
||||
"inherited": false,
|
||||
"valid-identifiers": [
|
||||
|
@ -223,6 +227,7 @@
|
|||
]
|
||||
},
|
||||
"border-color": {
|
||||
"affects-layout": false,
|
||||
"initial": "currentcolor",
|
||||
"longhands": [
|
||||
"border-top-color",
|
||||
|
@ -247,6 +252,7 @@
|
|||
]
|
||||
},
|
||||
"border-left-color": {
|
||||
"affects-layout": false,
|
||||
"initial": "currentcolor",
|
||||
"inherited": false,
|
||||
"valid-types": [
|
||||
|
@ -257,6 +263,7 @@
|
|||
]
|
||||
},
|
||||
"border-left-style": {
|
||||
"affects-layout": false,
|
||||
"initial": "none",
|
||||
"inherited": false,
|
||||
"valid-identifiers": [
|
||||
|
@ -288,6 +295,7 @@
|
|||
]
|
||||
},
|
||||
"border-radius": {
|
||||
"affects-layout": false,
|
||||
"inherited": false,
|
||||
"initial": "0",
|
||||
"longhands": [
|
||||
|
@ -298,6 +306,7 @@
|
|||
]
|
||||
},
|
||||
"border-right-color": {
|
||||
"affects-layout": false,
|
||||
"initial": "currentcolor",
|
||||
"inherited": false,
|
||||
"valid-types": [
|
||||
|
@ -308,6 +317,7 @@
|
|||
]
|
||||
},
|
||||
"border-right-style": {
|
||||
"affects-layout": false,
|
||||
"initial": "none",
|
||||
"inherited": false,
|
||||
"valid-identifiers": [
|
||||
|
@ -346,6 +356,7 @@
|
|||
]
|
||||
},
|
||||
"border-style": {
|
||||
"affects-layout": false,
|
||||
"initial": "none",
|
||||
"longhands": [
|
||||
"border-top-style",
|
||||
|
@ -368,6 +379,7 @@
|
|||
]
|
||||
},
|
||||
"border-top-color": {
|
||||
"affects-layout": false,
|
||||
"initial": "currentcolor",
|
||||
"inherited": false,
|
||||
"quirks": [
|
||||
|
@ -375,6 +387,7 @@
|
|||
]
|
||||
},
|
||||
"border-top-left-radius": {
|
||||
"affects-layout": false,
|
||||
"initial": "0",
|
||||
"inherited": false,
|
||||
"max-values": 2,
|
||||
|
@ -384,6 +397,7 @@
|
|||
]
|
||||
},
|
||||
"border-top-right-radius": {
|
||||
"affects-layout": false,
|
||||
"initial": "0",
|
||||
"inherited": false,
|
||||
"max-values": 2,
|
||||
|
@ -393,6 +407,7 @@
|
|||
]
|
||||
},
|
||||
"border-top-style": {
|
||||
"affects-layout": false,
|
||||
"initial": "none",
|
||||
"inherited": false,
|
||||
"valid-identifiers": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue