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

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 `<`
 only).

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 
https://github.com/w3c/csswg-drafts/issues/984#issuecomment-275086620 
using your GitHub account

Received on Wednesday, 25 January 2017 11:38:50 UTC