summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/StyleValue.h
diff options
context:
space:
mode:
authorTobias Christiansen <tobi@tobyase.de>2021-04-22 22:14:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-29 10:43:33 +0200
commit0983cd9243997b40e9079eedb6d8e5fdd306d2a9 (patch)
treec6d69534885347705254da869012cac152af45cc /Userland/Libraries/LibWeb/CSS/StyleValue.h
parent64d7a8b7aac9066f5b36b17faf7ae5b2ae9e523a (diff)
downloadserenity-0983cd9243997b40e9079eedb6d8e5fdd306d2a9.zip
LibWeb: Add list-style-type: decimal-leading-zero support
This doesn't exactly do what you would think from its name: It surely adds an extra leading zero to the front of a number, but only if the number is less than 10. CSS is weird sometimes.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/StyleValue.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleValue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h
index d4ad707d38..ac7d84aa2b 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleValue.h
+++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h
@@ -159,6 +159,7 @@ enum class ListStyleType {
Circle,
Square,
Decimal,
+ DecimalLeadingZero,
};
enum class Overflow : u8 {