1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:28:11 +00: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

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: