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 08:33:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-231305038-1467966806-sysbot+gh@w3.org>
> >  you can also deal with it without zooming and simply add
> > scrollbars if your window is 400px and your viewport is min 500px

> Sure, but that behavior is already easy to achieve, for example
> by just putting all your content in a min-width: 400px flexbox.

That's not quite the same. Assuming this is combined with a 
width=device-width viewport,  this would specifically be calling for a
 scrollbar. Not for a scrollbar or a zoom our or any UA dependent 
behavior to ensure this content isn't shrunk. Scrolling may not always
 be appropriate. Think of printing, or non interactive signage, or any
 number of UAs which may decide that the right way to avoid shrinking 
the content and keeping it viewable is something else than a scroll 
bar. `@viewport {min-width: ..;}` does that, and flexbox does not.

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

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