1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:47:35 +00:00

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
parent b03dac99a5
commit 7d5c626276
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;