- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Thu, 3 Jul 2014 10:03:26 +1200
- To: Justin Novosad <junov@google.com>
- Cc: Rik Cabanier <cabanier@gmail.com>, Kenneth Russell <kbr@google.com>, Stephen White <senorblanco@chromium.org>, WHAT Working Group <whatwg@whatwg.org>, Dean Jackson <dino@apple.com>, Ian Hickson <ian@hixie.ch>
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