mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +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:
@@ -124,7 +124,7 @@ void CSSStyleDeclaration::set_css_text(StringView)
|
||||
TODO();
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom/#serialize-a-css-declaration
|
||||
// https://www.w3.org/TR/cssom/#serialize-a-css-declaration
|
||||
static String serialize_a_css_declaration(CSS::PropertyID property, String value, bool important)
|
||||
{
|
||||
StringBuilder builder;
|
||||
@@ -150,7 +150,7 @@ static String serialize_a_css_declaration(CSS::PropertyID property, String value
|
||||
return builder.to_string();
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom/#serialize-a-css-declaration-block
|
||||
// https://www.w3.org/TR/cssom/#serialize-a-css-declaration-block
|
||||
String PropertyOwningCSSStyleDeclaration::serialized() const
|
||||
{
|
||||
// 1. Let list be an empty array.
|
||||
|
||||
Reference in New Issue
Block a user