1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

LibWeb: Ignore malformed at-rules in CSS parser

Fixes #12405.
This commit is contained in:
Guilherme Gonçalves 2022-02-11 17:42:11 +00:00 committed by Andreas Kling
parent dece108f9a
commit a456759d7a
2 changed files with 7 additions and 3 deletions

View file

@ -27,7 +27,7 @@ public:
~StyleRule();
Vector<StyleComponentValueRule> const& prelude() const { return m_prelude; }
StyleBlockRule const& block() const { return *m_block; }
RefPtr<StyleBlockRule> const block() const { return m_block; }
String to_string() const;