Fwd: canvas hitregion() clarification sought

FYI
wanted clarification on his as I believe this is part of ted's canvas
change proposal

---------- Forwarded message ----------
From: Steve Faulkner <faulkner.steve@gmail.com>
Date: 25 July 2012 01:13
Subject: canvas hitregion() clarification sought
To: whatwg <whatwg@whatwg.org>


Upon reading the hit region section [1] of the spec again I noticed this:

If any of the following conditions are met, throw a
NotSupportedError<http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#notsupportederror>
exception
and abort these steps.
...
The arguments object's control member is not null but is neither an
a<http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element>
element
that represents<http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#represents>
 a hyperlink<http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#hyperlink>,
a button<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element>
element,
an input<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#the-input-element>
element
whose type<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#attr-input-type>attribute
is in one of the
Checkbox<http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#checkbox-state-(type=checkbox)>
 or Radio Button<http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#radio-button-state-(type=radio)>
states,
nor an input<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#the-input-element>
element
that is a button<http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#concept-button>

This reads like it will throw an error if a custom control is referenced by
control()

<canvas>

<div tabindex=0 role=checkbox>

</canvas>

is this correct?

[1]
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#hit-regions

-- 
with regards

Steve Faulkner
Technical Director - TPG

www.paciellogroup.com | www.HTML5accessibility.com |
www.twitter.com/stevefaulkner
HTML5: Techniques for providing useful text alternatives -
dev.w3.org/html5/alt-techniques/
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html





-- 
with regards

Steve Faulkner
Technical Director - TPG

www.paciellogroup.com | www.HTML5accessibility.com |
www.twitter.com/stevefaulkner
HTML5: Techniques for providing useful text alternatives -
dev.w3.org/html5/alt-techniques/
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html

Received on Wednesday, 25 July 2012 00:21:31 UTC