mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +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
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