RE: CSS-4 and min|max-device-width

+1!


-----Original Message-----
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] 
Sent: Monday, January 08, 2018 7:13 PM
To: Belov, Charles
Cc: Alice Wonder; www-style list
Subject: Re: CSS-4 and min|max-device-width

On Mon, Jan 8, 2018 at 3:13 PM, Belov, Charles <https://urldefense.proofpoint.com/v2/url?u=http-3A__Charles.Belov-40sfmta.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=Sc-ry7Q3xvBnomEBkMoE2_ivmrUn9t3iPURPqMYwR3mRAaAfoxAAQdIUO6oCmSDQ&m=IrisriYrj6UueA07mb0Y4zjNRJABUnNJYMBzH0mSxBA&s=EmExf7VF3pKi8Dqgn8Ga2KfK2mefo80OBl7drHJGQlo&e=> wrote:
>> -----Original Message-----
>> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
>> Sent: Monday, January 08, 2018 1:58 PM
>> To: Alice Wonder <alice@domblogger.net>
>> Cc: www-style list <www-style@w3.org>
>> Subject: Re: CSS-4 and min|max-device-width
>>
>> On Mon, Jan 8, 2018 at 12:31 PM, Alice Wonder <alice@domblogger.net>
>> wrote:
>> > On 01/08/2018 12:03 PM, Tab Atkins Jr. wrote:
>> >> then what you actually want is to discriminate based on the 
>> >> resolution of the device, which is also available via MQ.) 
>> >> Pinch-zoom never causes reflows (unless it's buggy), and text 
>> >> wouldn't change due to it either.
>
> At risk of introducing a side-issue - I'll be happy to start a new thread if you'd prefer - pinch-zoom not reflowing is a bug to me. It makes many websites unusable for me on mobile because I find their fonts too small. Pinch-zoom without reflow adds sufficient cognitive load for me that when I have to scroll for each line in each paragraph in order to read the full line because it hasn't been reflowed, then I don't really grasp the content. So I wind up waiting to read long-form content until I'm at a desktop, which does reflow when I zoom.
>
> I acknowledge that knowing the device dimensions doesn't help with this, but calling pinch-zoom reflow buggy is counter to what I would find good experience. That said, if browsers and CSS were to support the iPhone's Larger Text setting (under General > Accessibility), that would be a partial workaround (depending on how much larger the site made the type before flowing the text).

That's not a problem with pinch-zoom, it's a problem with mobile browsers not allowing easy (or any!) ability to do a page-zoom, for sites that don't specify the right meta-viewport magic to get a properly-sized viewport.  We have two types of zoom on the web for a reason, and they're both useful, on all platforms.

You *really* don't want pinch-zoom to reflow - it would mean that pinching to see something better would move the content unpredictably!

~TJ



----------

This email has been scanned for spam and viruses. Visit the following link to report this email as spam:
https://us-spambrella.cloud-protect.net/index01.php?mod_id=11&mod_option=logitem&mail_id=1515457204-dQiPrKOGAqFK&r_address=vladimir.levantovsky%40monotype.com&report=

Received on Tuesday, 9 January 2018 20:15:32 UTC