LibWeb: Add <general-enclosed> support to Media Queries

This commit is contained in:
Sam Atkins 2021-11-24 15:11:59 +00:00 committed by Andreas Kling
commit 7d5c626276
Notes: sideshowbarker 2024-07-18 00:42:01 +09:00
3 changed files with 19 additions and 1 deletions

View file

@ -65,11 +65,13 @@ public:
And,
Or,
Not,
GeneralEnclosed,
};
Type type;
MediaFeature feature;
NonnullOwnPtrVector<MediaCondition> conditions;
Optional<GeneralEnclosed> general_enclosed;
MatchResult evaluate(DOM::Window const&) const;
String to_string() const;