summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSImportRule.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-01 19:57:45 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-01 20:17:15 +0200
commit3db847c64a3e391b3525b54b67b949ac7ae4097e (patch)
tree1591d66879921454fa44bd946702121cae9b123f /Userland/Libraries/LibWeb/CSS/CSSImportRule.h
parentc953103d2fb7ecf838e853387c4b466381037f72 (diff)
downloadserenity-3db847c64a3e391b3525b54b67b949ac7ae4097e.zip
LibWeb: Implement CSSRule and CSSStyleDeclaration serialization
There are a handful of FIXME's here, but this seems generally good. Note that CSS *values* don't get serialized in a spec-compliant way since we currently rely on StyleValue::to_string() which is ad-hoc.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSImportRule.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/CSSImportRule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSImportRule.h b/Userland/Libraries/LibWeb/CSS/CSSImportRule.h
index 839555a5da..bff07f2acb 100644
--- a/Userland/Libraries/LibWeb/CSS/CSSImportRule.h
+++ b/Userland/Libraries/LibWeb/CSS/CSSImportRule.h
@@ -36,6 +36,8 @@ public:
private:
explicit CSSImportRule(AK::URL);
+ virtual String serialized() const override;
+
AK::URL m_url;
RefPtr<CSSStyleSheet> m_style_sheet;
};