[Bug 19641] example "This canvas element has a couple of checkboxes" don`t work.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19641

--- Comment #6 from Ian 'Hixie' Hickson <ian@hixie.ch> ---
(In reply to comment #4)
> It didn't work in testing on Firefox, Chrome, and IE.

It won't work in Firefox because they don't implement .labels yet. It won't
work in Chrome because they don't implement drawCustomFocusRing() yet. Dunno
about IE.


> the checkboxes didn't have a label

They do in the WHATWG spec's example, FWIW.


> TypeError: element.label is undefined
> var metrics = context.measureText(element.label[0].textContent);

The attribute is called "labels". The WHATWG example gets this right as far as
I can tell.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 10 January 2013 22:30:02 UTC