Re: [whatwg] High-density canvases

On Thu, Jul 3, 2014 at 3:03 AM, Justin Novosad <junov@google.com> wrote:

> On Fri, Jun 27, 2014 at 6:42 PM, Robert O'Callahan <robert@ocallahan.org>
> wrote:

> This behavior seems sound at first glance, but because that arithmetic may
> >> induce a change to the intrinsic aspect ratio due to rounding, step 3)
> may
> >> not jump out of the loop during the second iteration, thus allowing the
> >> feedback loop to keep spinning.
> >>
> >
> > What are the specified values of CSS 'width' and 'height' on the canvas
> in
> > your example?
> >
>
> Anything but 'auto'.
>

If both 'width' and 'height' are not 'auto' then changing the canvas width
and height will not trigger a change in the canvas content-box, so
renderedPixelWidth/Height should not change, so there's no loop here.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w

Received on Wednesday, 2 July 2014 22:03:52 UTC