This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16365 - [Shadow]: What should be shadowRoot.activeElement if it does not contain a focused element.
Summary: [Shadow]: What should be shadowRoot.activeElement if it does not contain a fo...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14978
  Show dependency treegraph
 
Reported: 2012-03-14 11:54 UTC by Hayato Ito
Modified: 2012-03-14 21:43 UTC (History)
1 user (show)

See Also:


Attachments

Description Hayato Ito 2012-03-14 11:54:07 UTC
What is the initial value of 'shadowRoot.activeElement' in the algorithm used in Shadow DOM spec '8.3 Active Element'?

A document.activeElement is <body> element if there is no focused element according to the spec: 
http://www.w3.org/TR/html5/editing.html#document-level-focus-apis

What should be shadowRoot.activeElement if there is no focused elements inside of shadow root?
Comment 1 Dimitri Glazkov 2012-03-14 21:43:50 UTC
http://dvcs.w3.org/hg/webcomponents/rev/197e3d833074