summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-02-23 16:18:55 +0000
committerSam Atkins <atkinssj@gmail.com>2023-02-23 16:20:44 +0000
commit0fb6f87d49466330423ce3b8f2f7c30c2c41b46e (patch)
treea9e72c040a9a955d8093d175a43772162bfe7d5f /Userland/Libraries
parente905f2591169dea666b04c097195a8f0537b513b (diff)
downloadserenity-0fb6f87d49466330423ce3b8f2f7c30c2c41b46e.zip
LibWeb: Add spec link to border-width: thin/medium/thick definitions
In the latest backgrounds-3 spec, these have official fixed values. :^)
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibWeb/Layout/Node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp
index 7bfd886de5..4581534ae6 100644
--- a/Userland/Libraries/LibWeb/Layout/Node.cpp
+++ b/Userland/Libraries/LibWeb/Layout/Node.cpp
@@ -578,7 +578,7 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
if (value->has_length())
return value->to_length().to_px(*this).value();
if (value->is_identifier()) {
- // FIXME: These values should depend on something, e.g. a font size.
+ // https://www.w3.org/TR/css-backgrounds-3/#valdef-line-width-thin
switch (value->to_identifier()) {
case CSS::ValueID::Thin:
return 1.0f;