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

LibWeb: Ignore CSS properties with other people's vendor prefixes

This removes some `Property '-webkit-foo' has no value.` log spam. :^)
This commit is contained in:
Sam Atkins 2021-09-12 16:49:09 +01:00 committed by Andreas Kling
parent de31603028
commit 7817c681d0
2 changed files with 22 additions and 5 deletions

View file

@ -216,6 +216,8 @@ private:
Optional<Selector::Combinator> parse_selector_combinator(TokenStream<StyleComponentValueRule>&);
Result<Selector::SimpleSelector, SelectorParsingResult> parse_simple_selector(TokenStream<StyleComponentValueRule>&);
static bool has_ignored_vendor_prefix(StringView const&);
ParsingContext m_context;
Tokenizer m_tokenizer;