- From: Michael A. Peters <mpeters@domblogger.net>
- Date: Fri, 9 Dec 2016 09:43:09 -0800
- To: whatwg@lists.whatwg.org
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