W3C home > Mailing lists > Public > public-canvas-api@w3.org > October to December 2013

Re: drawsystemfocusring/drawcustomfocusring

From: Charles Pritchard <chuck@jumis.com>
Date: Wed, 11 Dec 2013 21:04:53 -0800
Message-ID: <52A943F5.4090101@jumis.com>
To: Jay Munro <jaymunro@microsoft.com>, Richard Schwerdtfeger <schwer@us.ibm.com>
CC: Rik Cabanier <cabanier@gmail.com>, Dominic Mazzoni <dmazzoni@google.com>, "eoconnor@apple.com" <eoconnor@apple.com>, Jatinder Mann <jmann@microsoft.com>, Canvas <public-canvas-api@w3.org>

On 12/11/13, 4:50 PM, Jay Munro wrote:
> By definition, “notional” is defined as imaginary, hypothetical, 
> theoretical, or an idea. The fallback elements in Canvas have been 
> termed the “shadow DOM”, but they are part of the DOM. If the browser 
> doesn’t support Canvas, then the elements are shown. I’m hesitating to 
> introduce a new term (notional child/children) as I’m not sure using 
> it would make it clearer. I’d rather use “hidden” or “fallback 
> elements” and see the action defined, than label them with a new term.

I think we've been referring to them as elements within the Canvas 
sub-tree. Years ago they were called "shadow", long before the current 
web components spec (which has its own shadow DOM), but that's since 

They are full citizens of the DOM -- they are active regardless of 
whether or not the browser supports Canvas.


<canvas><img src="/something.png" /></canvas>

That img tag is very much alive. It's just more-or-less that the css for 
the document supporting canvas is:
canvas > * { display: none; }

We don't yet have a semantic for say, "display: virtual".
We don't yet have solid semantics for a "virtual-*" family either.

There's "-fx-shape" in JavaFX, and "clip-path" as an SVG proposal.

We stayed away from using existing CSS width/height/positioning, as 
those are important for actual fallback use.
We do not have a semantic for toggling the availability of "fallback" 
via CSS, but it's easy enough with JS to simply switch canvas tags to 
divs (or some other tag).

I feel I've gone off on a tangent, so I'll just stop there.

Received on Thursday, 12 December 2013 05:05:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:31:55 UTC