- From: Rune Lillesveen <rune@opera.com>
- Date: Fri, 16 Nov 2012 10:43:28 +0100
- To: www-style@w3.org
On Wed, 14 Nov 2012 16:09:36 +0100, Øyvind Stenhaug <oyvinds@opera.com> wrote: > On Wed, 14 Nov 2012 10:27:58 +0100, Rune Lillesveen <rune@opera.com> > wrote: > >> For instance, if the UA stylesheet has max-zoom: 5, and the initial >> width is 320px, <meta name="viewport" content="width=10"> will resolve >> to 48px. > > By my calculations this should say 64px, not 48px. Right. > ********* > If extend-zoom is ‘auto’: > > 1. If max-width is ‘extend-to-zoom’, set max-width = ‘auto’. > 2. If max-height is ‘extend-to-zoom’, set max-height = ‘auto’. > 3. If min-width is ‘extend-to-zoom’, set min-width = max-width. > 4. If min-height is ‘extend-to-zoom’, set min-height = max-height. > > If extend-zoom is non-‘auto’: > > 1. If max-width is ‘extend-to-zoom’, set max-width = extend-width. > 2. If max-height is ‘extend-to-zoom’, set max-height = extend-height. > 3. If min-width is ‘extend-to-zoom’, set min-width = MAX(extend-width, > max-width). > 4. If min-height is ‘extend-to-zoom’, set min-height = > MAX(extend-height, max-height). > ********* I liked this one better. It also looks more like the syntax and wording from the constraining procedure. -- Rune Lillesveen
Received on Friday, 16 November 2012 09:43:48 UTC