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

Re: [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:38:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-275086620-1485344323-sysbot+gh@w3.org>
alternatively, for backwards-compatibility with existing content, 
perhaps having a new modifier for the value part to indicate it's 
"excluding", thus allowing authors to choose which one they want to 
make "excluding" (assuming browsers would then infer the rest from 
context, i.e. if it's used for a `min-` then the value with modifier 
results in a `>` only, and in case of `max-` with modifier value a `<`

Spitballing, based on mathematical notation for intervals, maybe the 
`]` and `[` characters (where `[` could be assumed as the default for 
backwards compat)? Something like `min-width: ]320px` / `max-width: 
[320px` perhaps?

GitHub Notification of comment by patrickhlauke
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 25 January 2017 11:38:50 UTC

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