LibWeb: Mark the border-style properties as layout affecting

`border-style: none` and `border-style: hidden` remove the border
entirely during layout, causing boxes to shift around.
This commit is contained in:
Luke Wilde 2022-12-31 16:54:39 +00:00 committed by Andreas Kling
commit 42b011b571
Notes: sideshowbarker 2024-07-17 02:21:14 +09:00

View file

@ -225,7 +225,6 @@
]
},
"border-bottom-style": {
"affects-layout": false,
"initial": "none",
"inherited": false,
"valid-types": [
@ -284,7 +283,6 @@
]
},
"border-left-style": {
"affects-layout": false,
"initial": "none",
"inherited": false,
"valid-types": [
@ -329,7 +327,6 @@
]
},
"border-right-style": {
"affects-layout": false,
"initial": "none",
"inherited": false,
"valid-types": [
@ -359,7 +356,6 @@
]
},
"border-style": {
"affects-layout": false,
"initial": "none",
"longhands": [
"border-top-style",
@ -401,7 +397,6 @@
]
},
"border-top-style": {
"affects-layout": false,
"initial": "none",
"inherited": false,
"valid-types": [