summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-03-22 14:12:44 +0000
committerAndreas Kling <kling@serenityos.org>2022-03-22 15:45:46 +0100
commitca1b855d99a398a70e010f060311809c9fa84743 (patch)
tree65a9c1e688d08dfa4295c47e343d1692f93af26b /Userland/Libraries
parent701d4372058e470f8e12b2437006fa329cc1e8d9 (diff)
downloadserenity-ca1b855d99a398a70e010f060311809c9fa84743.zip
LibWeb: Allow percentages in word/letter-spacing properties
This is a change to CSS-TEXT-4, listed here: https://www.w3.org/TR/2022/WD-css-text-4-20220318/#changes We don't actually support these properties yet, but it doesn't hurt to keep them up to date for when they get implemented in the future. :^)
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Properties.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json
index f3e0e947fc..ec9b10ce8d 100644
--- a/Userland/Libraries/LibWeb/CSS/Properties.json
+++ b/Userland/Libraries/LibWeb/CSS/Properties.json
@@ -829,7 +829,8 @@
"inherited": true,
"initial": "normal",
"valid-types": [
- "length"
+ "length",
+ "percentage"
],
"valid-identifiers": [
"normal"
@@ -1459,7 +1460,8 @@
"inherited": true,
"initial": "normal",
"valid-types": [
- "length"
+ "length",
+ "percentage"
],
"valid-identifiers": [
"normal"