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

@ -12,14 +12,14 @@ CSSRule::~CSSRule()
{
}
// https://drafts.csswg.org/cssom/#dom-cssrule-csstext
// https://www.w3.org/TR/cssom/#dom-cssrule-csstext
String CSSRule::css_text() const
{
// The cssText attribute must return a serialization of the CSS rule.
return serialized();
}
// https://drafts.csswg.org/cssom/#dom-cssrule-csstext
// https://www.w3.org/TR/cssom/#dom-cssrule-csstext
void CSSRule::set_css_text(StringView)
{
// On setting the cssText attribute must do nothing.