[Webkit-unassigned] [Bug 50126] Fallback content in canvas element not focusable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 14 09:48:18 PST 2012


--- Comment #38 from Ryosuke Niwa <rniwa at webkit.org>  2012-02-14 09:48:17 PST ---
Sorry, maybe my comment was too terse.

What I meant is that we can get rid of the RenderReplaced and use the shadow DOM to implement replaced elements instead. For example, in the case of the cavas element, we'll attach a special shadow DOM that "implements the canvas" by default. The fallback content is shown iff the shadow DOM isn't attached and the innate DOM is shown.

HTMLCanvasElement -> ShadowRoot -> some-special-element/renderer, inaccessible from ES5
fallback contents (accessible from DOM, focus, etc... would just work when shown)

That way, we don't need to have all sorts of crazy hacks we have in RenderReplaced and friends today.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list