[Webkit-unassigned] [Bug 50126] Fallback content in canvas element not focusable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 28 13:48:33 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=50126
--- Comment #29 from Dave Hyatt <hyatt at apple.com> 2011-02-28 13:48:32 PST ---
The other option would be to turn RenderHTMLCanvas into a RenderBlock subclass. Then it acts as a proper container (and containing block), and you have a lots of control over what you can do to the children.
For example:
(1) You can set overflow:hidden when fallback content is present to prevent layout overflow.
(2) You can make the canvas block act as a containing block for all children regardless of their positioning by patching container() and containingBlock().
(3) You can make the canvas have a layer and establish a stacking context when fallback content is present.
(4) Force visibility:hidden down the descendant tree and you don't even have to patch painting and hit testing.
canvas * { visibility:hidden !important }
--
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