W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

Re: [csswg-drafts] [mediaqueries] Consider making device-pixel-ratio a standard alias.

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 05 Dec 2016 05:26:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-264770884-1480915589-sysbot+gh@w3.org>
In addition to the discussion in this bug, this was talked about at 
https://lists.w3.org/Archives/Public/www-style/2016Sep/0000.html

We probably need to revisit to wrap up.

My position:

1. I don't think it helps to add (unprefixed) device-pixel-ratio as an
 alias, but I wouldn't object to it if others want it.

2. I do not have data, but I believe there is a compat dependency on 
`-webkit-device-pixel-ratio`, so adding that as an alias sounds OK to 
me. It's already in the Compat spec, but I think we should internalize
 such things into our own spec. I would not object if people insisted 
on keeping the two separate.

3. if we do add device-pixel-ratio (prefixed or not) as an alias, it 
should behave exactly the same as resolution. Anything else would be 
highly confusing, and I would probably object.

4. Currently the specs (MQ + CSSOM-View) agree with 
everybody-but-safari that pinch zoom does affect device-pixel-ratio / 
resolution If someone (apple) wants to change that, I suggest a 
separate issue.

Agenda+ing to try to deal with 1+2+3

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/417#issuecomment-264770884 
using your GitHub account
Received on Monday, 5 December 2016 05:26:41 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:26 UTC