mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
Revert "LibWeb/CSS: Keep invalid parts of <forgiving-selector-list>
s around"
This reverts commit 698dd600f2
.
This caused multiple tests to crash on macOS:
https://github.com/LadybirdBrowser/ladybird/pull/2317#issuecomment-2474725826
This commit is contained in:
parent
698dd600f2
commit
2a5dbedad4
Notes:
github-actions[bot]
2024-11-13 20:39:08 +00:00
Author: https://github.com/awesomekling
Commit: 2a5dbedad4
8 changed files with 3 additions and 110 deletions
|
@ -12,7 +12,6 @@
|
|||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibWeb/CSS/Keyword.h>
|
||||
#include <LibWeb/CSS/Parser/ComponentValue.h>
|
||||
#include <LibWeb/CSS/PseudoClass.h>
|
||||
|
||||
namespace Web::CSS {
|
||||
|
@ -93,7 +92,6 @@ public:
|
|||
PseudoClass,
|
||||
PseudoElement,
|
||||
Nesting,
|
||||
Invalid,
|
||||
};
|
||||
|
||||
struct ANPlusBPattern {
|
||||
|
@ -197,12 +195,8 @@ public:
|
|||
CaseType case_type;
|
||||
};
|
||||
|
||||
struct Invalid {
|
||||
Vector<Parser::ComponentValue> component_values;
|
||||
};
|
||||
|
||||
Type type;
|
||||
Variant<Empty, Attribute, PseudoClassSelector, PseudoElement, Name, QualifiedName, Invalid> value {};
|
||||
Variant<Empty, Attribute, PseudoClassSelector, PseudoElement, Name, QualifiedName> value {};
|
||||
|
||||
Attribute const& attribute() const { return value.get<Attribute>(); }
|
||||
Attribute& attribute() { return value.get<Attribute>(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue