1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09:00

LibWeb: Use W3C urls for CSS-CASCADE spec links

This commit is contained in:
Sam Atkins 2021-10-15 19:46:52 +01:00 committed by Linus Groh
parent e8d4236bbd
commit 2d0c6bde01
Notes: sideshowbarker 2024-07-18 02:20:19 +09:00

View file

@ -542,7 +542,7 @@ void StyleComputer::cascade_declarations(StyleProperties& style, DOM::Element& e
}
}
// https://drafts.csswg.org/css-cascade/#cascading
// https://www.w3.org/TR/css-cascade/#cascading
void StyleComputer::compute_cascaded_values(StyleProperties& style, DOM::Element& element) const
{
// First, we collect all the CSS rules whose selectors match `element`:
@ -620,7 +620,7 @@ void StyleComputer::compute_defaulted_property_value(StyleProperties& style, DOM
}
}
// https://drafts.csswg.org/css-cascade/#defaulting
// https://www.w3.org/TR/css-cascade/#defaulting
void StyleComputer::compute_defaulted_values(StyleProperties& style, DOM::Element const* element) const
{
// Walk the list of all known CSS properties and: