1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:27:46 +00:00

LibWeb: Expand border-{top,right,bottom-left} CSS shorthand properties

This code is pretty rough, but it's something that will also improve
with the eventual new CSS parser.
This commit is contained in:
Andreas Kling 2020-06-10 16:14:31 +02:00
parent 2b489f492d
commit 4e1939c635
2 changed files with 105 additions and 23 deletions

View file

@ -28,6 +28,34 @@
"border-color"
]
},
"border-top": {
"longhands": [
"border-top-width",
"border-top-style",
"border-top-color"
]
},
"border-right": {
"longhands": [
"border-right-width",
"border-right-style",
"border-right-color"
]
},
"border-bottom": {
"longhands": [
"border-bottom-width",
"border-bottom-style",
"border-bottom-color"
]
},
"border-left": {
"longhands": [
"border-left-width",
"border-left-style",
"border-left-color"
]
},
"border-bottom-color": {
"initial": "currentColor",
"inherited": false