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

@ -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.