W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2016

Re: [whatwg] Media query for bandwidth ??

From: Michael A. Peters <mpeters@domblogger.net>
Date: Fri, 9 Dec 2016 09:43:09 -0800
To: whatwg@lists.whatwg.org
Message-ID: <32e4aa06-b1fd-8d0e-858b-c3096f72ad8f@domblogger.net>
On 12/09/2016 09:03 AM, Boris Zbarsky wrote:
> On 12/9/16 5:57 AM, Michael A. Peters wrote:
>> max-height and max-width and orientation change, but device-width does
>> not change.
> Just as a point of fact, device-width can absolutely change.  The
> simplest case is a two-monitor setup with the window getting dragged
> from one monitor to another, but similar things can happen when things
> are docked/undocked, monitors are plugged in or removed, etc.
> -Boris

Ah yes, point taken.

With a bandwidth query I would recommend it only change on a page reload 
but it wouldn't have to be done that way.

This wouldn't only be beneficial to fonts, a lot of images etc. are 
defined in CSS too.
Received on Friday, 9 December 2016 17:43:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:40 UTC