1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

LibWeb: Use W3C urls for CSSOM spec links

https://www.w3.org/TR/cssom/ is the more permanent home of the CSSOM
specification's latest version, and is up to date with the draft spec.

Also, https://drafts.csswg.org/ has been down multiple times recently
which made looking things up a pain.
This commit is contained in:
Sam Atkins 2021-10-15 19:38:39 +01:00 committed by Linus Groh
parent df85832f32
commit e8d4236bbd
11 changed files with 25 additions and 25 deletions

View file

@ -29,7 +29,7 @@ bool CSSRuleList::is_supported_property_index(u32 index) const
return index < m_rules.size();
}
// https://drafts.csswg.org/cssom/#insert-a-css-rule
// https://www.w3.org/TR/cssom/#insert-a-css-rule
DOM::ExceptionOr<unsigned> CSSRuleList::insert_a_css_rule(NonnullRefPtr<CSSRule> rule, u32 index)
{
// 1. Set length to the number of items in list.
@ -54,7 +54,7 @@ DOM::ExceptionOr<unsigned> CSSRuleList::insert_a_css_rule(NonnullRefPtr<CSSRule>
return index;
}
// https://drafts.csswg.org/cssom/#remove-a-css-rule
// https://www.w3.org/TR/cssom/#remove-a-css-rule
DOM::ExceptionOr<void> CSSRuleList::remove_a_css_rule(u32 index)
{
// 1. Set length to the number of items in list.