W3C home > Mailing lists > Public > public-canvas-api@w3.org > April to June 2011

Re: hit testing and retained graphics

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Thu, 30 Jun 2011 18:42:17 +0100
Message-ID: <BANLkTi=kMeP6Ds2ENoOgb5mveC=2VEn4SA@mail.gmail.com>
To: Charles Pritchard <chuck@jumis.com>
Cc: Sean Hayes <Sean.Hayes@microsoft.com>, "E.J. Zufelt" <everett@zufelt.ca>, Paul Bakaus <pbakaus@zynga.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, John Foliot <jfoliot@stanford.edu>, Charles McCathieNevile <chaals@opera.com>, Richard Schwerdtfeger <schwer@us.ibm.com>, CameronMcCormack <cam@mcc.id.au>, Cynthia Shelly <cyns@microsoft.com>, "david.bolter@gmail.com" <david.bolter@gmail.com>, Frank Olivier <Frank.Olivier@microsoft.com>, "Mike@w3.org" <Mike@w3.org>, "public-canvas-api@w3.org" <public-canvas-api@w3.org>, "public-html@w3.org" <public-html@w3.org>, "public-html-a11y@w3.org" <public-html-a11y@w3.org>
On Wed, Jun 29, 2011 at 8:10 PM, Charles Pritchard <chuck@jumis.com> wrote:
> Mozilla labs is jumping the shark, again, with a PDF rendering webapp using Canvas.
> http://andreasgal.com/2011/06/15/pdf-js/
> They have noted (as I have), that there are cases where imperative drawing of a scene can beat-out the poor performance of the browser's generalized and declarative render tree implementation.


> Regardless, it's another very serious project, and one which is actively looking for a11y semantics to work with canvas.

I thought their accessibility plan was to use SVG?

"Canvas is our first backend. We are planning an SVG backend which
will allow search, text selection and accessibility (its also a bit
slower, so we will probably render canvas and then build an SVG DOM on


"Putting all this together, we currently plan on doing a fast
first-paint of pages using canvas, concurrently building an SVG
document for the page in the background, and when the SVG document is
ready, switching to that. Or if that doesn’t work well, we could
implement text-selection (and hopefully a11y) in pdf.js itself, on top
of canvas, possibly creating new web APIs along the way. Or if, say,
font loading dominates the critical path to first-paint, we might only
use SVG and forget canvas. It’s great to have these options


Benjamin Hawkes-Lewis
Received on Thursday, 30 June 2011 17:42:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:10:30 UTC