[Webkit-unassigned] [Bug 92050] Focus navigation of <summary> element should not be ruled by Shadow DOM spec.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 23 18:35:15 PDT 2012


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





--- Comment #2 from Hayato Ito <hayato at chromium.org>  2012-07-23 18:35:20 PST ---
Let me make the issue clear at first. Suppose the following elements are given:

A1 <input tabindex=1>
A2 <input tabindex=2>
A3 <input tabindex=3>
A4 <input tabindex=4>
A5 <input tabindex=5>
B2 <input tabindex=2>
<details>detail
    <summary tabindex=2>summary</summary>
</details>


If we focus 'A1' at first, focus navigation by pressing Tab-key should be in the following order:
   A1-> A2 -> B2-> summary-> A3-> A4-> A5

The current implementation does not follow this order because a focus scope of <summary> element is not the one of the outer document. <summary> element is distributed into an insertion point in the current implementation.

(In reply to comment #1)
> I am curious why this is necessary. Should we change the spec instead?

I am not sure how we can change the spec. Maybe we could mention like:

[You should assume that <details> element is a shadow host and a <summary> element is distributed into an insertion point of shadow DOM subtree.]

If we mention that in the spec, the issue will disappear.

Let me think further.

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