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

Re: [csswg-drafts] [css-device-adapt] @viewport is preloader-hostile

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Jul 2016 03:04:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-231264598-1467947074-sysbot+gh@w3.org>
> If you're suggesting that when a responsive site is in a floating 
window that the user resizes below the min-width, the browser should 
start zooming out to keep a complete fit, I disagree

That is indeed what I am suggesting, and IE/Edge already do it. 
Variations are possible though, if zooming out is judged to be a poor 
UX (I don't think it is, but we can disagree on that), you can also 
deal with it without zooming and simply add scrollbars if your window 
is 400px and your viewport is min 500px. This is better than smashing 
everything together and causing overlap if the design is known not to 
work under 500px.

> it's too different from how windows normally react to resizing
Is it? if you resize down an image viewer, or a pdf viewer, or any 
number of applications whose content is not reflowable, it will 
typically zoom out. Not always, but it is a common UI strategy. When 
web content is reflowable, it should be reflowed. But if it is known 
not to deal well with sizes bellow a certain limit, then opting into 
some other mode makes sense to me.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/258#issuecomment-231264598 
using your GitHub account
Received on Friday, 8 July 2016 03:04:43 UTC

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