W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2014

Re: [whatwg] High-density canvases

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 26 Jun 2014 10:52:52 +1200
Message-ID: <CAOp6jLaxQpr=WM0V6MKZO3jvW21EGz+ehzfWXKNnYBidc7qASg@mail.gmail.com>
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, Jun 26, 2014 at 10:13 AM, Robert O'Callahan <robert@ocallahan.org>

> To clarify, I think a version of option #1 would be the best way to go.
> renderedPixelWidth would return the current canvas buffer width when the
> canvas element's CSS specified value for 'width' is 'auto', and similar for
> height.

Actually, that would break some use-cases involving object-fit, so instead
renderedPixelWidth/Height should return the current canvas buffer width
only when *both* 'width' and 'height' are 'auto'.

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, 25 June 2014 22:53:18 UTC

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