mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibWeb: Use W3C urls for CSS-CASCADE spec links
This commit is contained in:
parent
e8d4236bbd
commit
2d0c6bde01
Notes:
sideshowbarker
2024-07-18 02:20:19 +09:00
Author: https://github.com/AtkinsSJ
Commit: 2d0c6bde01
Pull-request: https://github.com/SerenityOS/serenity/pull/10492
1 changed files with 2 additions and 2 deletions
|
@ -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
|
void StyleComputer::compute_cascaded_values(StyleProperties& style, DOM::Element& element) const
|
||||||
{
|
{
|
||||||
// First, we collect all the CSS rules whose selectors match `element`:
|
// 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
|
void StyleComputer::compute_defaulted_values(StyleProperties& style, DOM::Element const* element) const
|
||||||
{
|
{
|
||||||
// Walk the list of all known CSS properties and:
|
// Walk the list of all known CSS properties and:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue