mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
LibWeb: Ignore vendor-prefixed pseudo-element/classes in selectors
Our debug logging when we fail to parse a legitimate selector, is less useful when it's hidden among selectors that don't parse because they contain vendor-prefixed pseudo-elements and classes. So, now we specifically ignore these and don't produce a log message.
This commit is contained in:
parent
83cd2eef8f
commit
13c67f9920
Notes:
sideshowbarker
2024-07-18 04:05:37 +09:00
Author: https://github.com/AtkinsSJ
Commit: 13c67f9920
Pull-request: https://github.com/SerenityOS/serenity/pull/10006
2 changed files with 17 additions and 2 deletions
|
@ -102,6 +102,7 @@ public:
|
|||
private:
|
||||
enum class SelectorParsingResult {
|
||||
Done,
|
||||
IncludesIgnoredVendorPrefix,
|
||||
SyntaxError,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue