summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorTobias Christiansen <tobi@tobyase.de>2021-05-14 21:36:26 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-20 22:08:02 +0200
commit0c261a1c959907666aa21a92e52e14a261b1c763 (patch)
treed73b6dcc86923f340c75f819e7b4f0795dad3a08 /Userland
parentd13526e1e7346a95b924c45f2054e66ffe3d145e (diff)
downloadserenity-0c261a1c959907666aa21a92e52e14a261b1c763.zip
LibWeb: Add border-radius to the CSS-parser
And resolve the shorthands.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Properties.json27
1 files changed, 25 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json
index 321be3919f..3ffba496e1 100644
--- a/Userland/Libraries/LibWeb/CSS/Properties.json
+++ b/Userland/Libraries/LibWeb/CSS/Properties.json
@@ -1,6 +1,5 @@
{
- "background": {
- },
+ "background": {},
"background-attachment": {
"inherited": false,
"initial": "scroll"
@@ -72,6 +71,14 @@
"initial": "currentColor",
"inherited": false
},
+ "border-bottom-left-radius": {
+ "initial": 0,
+ "inherited": false
+ },
+ "border-bottom-right-radius": {
+ "initial": 0,
+ "inherited": false
+ },
"border-bottom-style": {
"initial": "none",
"inherited": false
@@ -104,6 +111,14 @@
"initial": "medium",
"inherited": false
},
+ "border-radius": {
+ "longhands": [
+ "border-top-left-radius",
+ "border-top-right-radius",
+ "border-bottom-left-radius",
+ "border-bottom-right-radius"
+ ]
+ },
"border-right-color": {
"initial": "currentColor",
"inherited": false
@@ -132,6 +147,14 @@
"initial": "currentColor",
"inherited": false
},
+ "border-top-left-radius": {
+ "initial": 0,
+ "inherited": false
+ },
+ "border-top-right-radius": {
+ "initial": 0,
+ "inherited": false
+ },
"border-top-style": {
"initial": "none",
"inherited": false