W3C home > Mailing lists > Public > www-style@w3.org > January 2016

Re: [css-device-adapt] "shrink-to-fit" viewport <meta> property

From: Simon Fraser <smfr@me.com>
Date: Wed, 06 Jan 2016 11:32:15 -0800
Cc: CSS WG <www-style@w3.org>
Message-id: <7D7C2819-46B2-4241-8C7F-C8B22068623E@me.com>
To: Chris Rebert <csswg@chrisrebert.com>

> On Jan 4, 2016, at 3:09 AM, Chris Rebert <csswg@chrisrebert.com> wrote:
> 
> Looks like the current spec doesn't mention the "shrink-to-fit" property
> of the <meta name="viewport"> tag anywhere.
> 
> Here are some informative links about the property:
> https://developer.apple.com/library/ios/releasenotes/General/WhatsNewInSafari/Articles/Safari_9.html#//apple_ref/doc/uid/TP40014305-CH9-SW36
> https://twitter.com/KMuncie/status/646313229098967040
> http://kihlstrom.com/2015/shrink-to-fit-no-fixes-zoom-problem-in-ios-9/

We consider the shrink-to-fit behavior a mistake, and are reverting it in most situations. “shrink-to-fit=no” was added as a workaround for sites to avoid this bad behavior, but long-term we do not encourage its use.

Simon
Received on Wednesday, 6 January 2016 19:32:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:33 UTC