W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

[Bug 27757] New: [Shadow]: how is the autofocus attribute supposed to be handled?

From: <bugzilla@jessica.w3.org>
Date: Mon, 05 Jan 2015 21:23:37 +0000
To: public-webapps@w3.org
Message-ID: <bug-27757-2927@http.www.w3.org/Bugs/Public/>

            Bug ID: 27757
           Summary: [Shadow]: how is the autofocus attribute supposed to
                    be handled?
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: mail@rodneyrehm.de
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org
            Blocks: 14978

The section "6.2 Focus Navigation" [1] does not specify how the autofocus
attribute [2] is to be handled if set on an element within a ShadowRoot.

As of now Chrome and Firefox consider all elements at page load, including the
ones in ShadowRoots when looking for an element with autofocus. That, however,
is not the behavior I expected from an encapsulated DOM. What I expected is the
same behavior the dialog element presents in showModal in steps 8 - 10 [3].

[1] http://w3c.github.io/webcomponents/spec/shadow/#focus-navigation

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 5 January 2015 21:23:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:43 UTC