From 19fc225b455957cf81d2038571a7f3713c01b555 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Tue, 5 Oct 2021 15:43:50 +0100 Subject: [PATCH] Base: Add window.matchMedia() test to media-queries.html --- Base/res/html/misc/media-queries.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Base/res/html/misc/media-queries.html b/Base/res/html/misc/media-queries.html index 1a8f11229b..86c746756e 100644 --- a/Base/res/html/misc/media-queries.html +++ b/Base/res/html/misc/media-queries.html @@ -78,6 +78,9 @@ +

+ I don't know how wide the page is. window.matchMedia("(min-width: 800px)") is not working. :^( +

This should be green, with a black border and black text, if we are correctly ignoring @media rules that do not apply.

@@ -102,5 +105,18 @@

This should be green, with a black border and black text, if we detected the color feature and a deeply nested query: (color) or ((color) and ((color) or (color) or (not (color)))).

+ +