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
commit a456759d7a
Notes: sideshowbarker 2024-07-19 17:09:20 +09:00
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;