mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48: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:
parent
df85832f32
commit
e8d4236bbd
11 changed files with 25 additions and 25 deletions
|
@ -19,7 +19,7 @@ CSSStyleSheet::~CSSStyleSheet()
|
|||
{
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom/#dom-cssstylesheet-insertrule
|
||||
// https://www.w3.org/TR/cssom/#dom-cssstylesheet-insertrule
|
||||
DOM::ExceptionOr<unsigned> CSSStyleSheet::insert_rule(StringView rule, unsigned index)
|
||||
{
|
||||
// FIXME: 1. If the origin-clean flag is unset, throw a SecurityError exception.
|
||||
|
@ -39,7 +39,7 @@ DOM::ExceptionOr<unsigned> CSSStyleSheet::insert_rule(StringView rule, unsigned
|
|||
return m_rules->insert_a_css_rule(parsed_rule.release_nonnull(), index);
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom/#dom-cssstylesheet-deleterule
|
||||
// https://www.w3.org/TR/cssom/#dom-cssstylesheet-deleterule
|
||||
DOM::ExceptionOr<void> CSSStyleSheet::delete_rule(unsigned index)
|
||||
{
|
||||
// FIXME: 1. If the origin-clean flag is unset, throw a SecurityError exception.
|
||||
|
@ -50,7 +50,7 @@ DOM::ExceptionOr<void> CSSStyleSheet::delete_rule(unsigned index)
|
|||
return m_rules->remove_a_css_rule(index);
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom/#dom-cssstylesheet-removerule
|
||||
// https://www.w3.org/TR/cssom/#dom-cssstylesheet-removerule
|
||||
DOM::ExceptionOr<void> CSSStyleSheet::remove_rule(unsigned index)
|
||||
{
|
||||
// The removeRule(index) method must run the same steps as deleteRule().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue