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

Re: [whatwg] High-density canvases

From: Rik Cabanier <cabanier@gmail.com>
Date: Tue, 24 Jun 2014 20:30:14 -0700
Message-ID: <CAGN7qDAUct8uOA=LBHiJqP9f9nn6Q5fe+sr1=ytmKWgbYBV6jw@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: Ian Hickson <ian@hixie.ch>, Kenneth Russell <kbr@google.com>, Stephen White <senorblanco@chromium.org>, Dean Jackson <dino@apple.com>, WHAT Working Group <whatwg@whatwg.org>
On Mon, Jun 23, 2014 at 6:06 PM, Robert O'Callahan <robert@ocallahan.org>
wrote:

> On Tue, Jun 24, 2014 at 12:27 PM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
>
>> I'll do that now.
>>
>
> Done.
> http://wiki.whatwg.org/wiki/CanvasRenderedPixelSize
>

The wiki states:

Add a new event renderedsizechange to HTMLCanvasElement. This event does
not bubble and is not cancelable. Whenever the value that would be returned
by renderedPixelWidth orrenderedPixelHeight changes, queue a task to fire
renderedsizechange at the HTMLCanvasElement if there is not already a task
pending to fire such an event at that element.


- If there's a transition or animation that affects the canvas element,
should it receive resize events at 60fps?
- will CSS 3D transforms affect the rendered canvas size? If so, what would
the optimal resolution be if there's a rotation
- what happens if the canvas element is not in the document? Will it just
return the pixel width/height?
Received on Wednesday, 25 June 2014 03:30:41 UTC

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