summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-11-10 13:48:41 +0000
committerAndreas Kling <kling@serenityos.org>2021-11-10 21:58:14 +0100
commit4d4291548531e7ceaa734b0a782a891b8a85fbd4 (patch)
treeea0d972b217acc0e09df68e07191419e5ab03f0c /Userland/Libraries/LibWeb/CSS/StyleComputer.cpp
parent63aa39987380cefd26624891eb359ddbc4d15472 (diff)
downloadserenity-4d4291548531e7ceaa734b0a782a891b8a85fbd4.zip
LibWeb: Ensure that CSS initial values are always valid :^)
First off, this verifies that an initial value is always provided in Properties.json for each property. Second, it verifies that parsing that initial value succeeds. This means that a call to `property_initial_value()` will always return a valid StyleValue. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/StyleComputer.cpp')
0 files changed, 0 insertions, 0 deletions