W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

[csswg-drafts] [mediaqueries-4] min-width / max-width / min-height / max-height and fractional viewport dimensions

From: Patrick H. Lauke via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Jan 2017 11:27:35 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-203077503-1485343654-sysbot+gh@w3.org>
patrickhlauke has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [mediaqueries-4] min-width / max-width / min-height / max-height 
and fractional viewport dimensions ==
Currently, `min-` and `max-` prefixes are equivalent to `>=` and `<=` 
(see https://drafts.csswg.org/mediaqueries-4/#mq-min-max)

This is fine under the assumption that the width/height of the 
viewport will always be integers, but will fall apart in the case of 
fractional dimensions (admittedly an edge case?) - see for instance 
https://github.com/twbs/bootstrap/issues/21552

Wondering if it would be possible to change these so that one of them 
is "including", while the other is "excluding". For instance, changing
 the definition to make `min-` equivalent to `>=` but `max-` 
equivalent to `<` only?

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/984 using your GitHub 
account
Received on Wednesday, 25 January 2017 11:27:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC