mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
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.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 03:13:22 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3db847c64a3
@@ -36,6 +36,8 @@ public:
|
||||
private:
|
||||
explicit CSSImportRule(AK::URL);
|
||||
|
||||
virtual String serialized() const override;
|
||||
|
||||
AK::URL m_url;
|
||||
RefPtr<CSSStyleSheet> m_style_sheet;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user