W3C home > Mailing lists > Public > www-style@w3.org > March 2015

[mediaqueries] reevaluating media queries when the environment changes

From: Florian Rivoal <florian@rivoal.net>
Date: Wed, 25 Mar 2015 10:49:01 +0100
Message-Id: <E082BEB3-89CF-4995-B983-6E80AFA2C751@rivoal.net>
To: www-style list <www-style@w3.org>
MQ4 states:

"User agents should re-evaluate media queries in response to changes in the user environment"

MQ3 has the same, phrased differently.

I believe this was intentional, but I cannot think of any good reason
for using should rather than must in this sentence, and would like to
change.

The only two reasons I can think of are:
1) If we write MUST, this will delay MQ3 getting to REC

=> If that's the case, this is no longer relevant, and we can use must

2) We want to allow some user agents to layout and render a static view
of the page once, and then never touch it again (no relayout, no
interaction, no javascript after the initial load...).

=> If that's what we want to do, we can carve out a specific exemption
for such UAs, without allowing normal interactive browsers to fail to
update their media queries when something changes.

Or was there something else?

 - Florian
Received on Wednesday, 25 March 2015 09:49:27 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:49 UTC