[Webkit-unassigned] [Bug 62358] Needs a unified way to handle a case when a shadow host is focused.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 9 07:20:02 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62358





--- Comment #2 from Dominic Cooney <dominicc at chromium.org>  2011-06-09 07:20:02 PST ---
I like the simplicity of that rule. I think it covers most of the use cases.

It is possible to create pathological cases where we want *both* the host and something in the shadow to be focused. For example:

<button>foo</button>

var b = document.createElement('button');
b.textContent = bar;
document.querySelector('button').appendChild(b);

This makes a button-on-a-button and you can focus them individually. So if we want to implement button using shadow DOM, is it possible to support a case like this?

-- 
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