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 16097 - [Shadow]: We need some way to obtain in-shadow selection
Summary: [Shadow]: We need some way to obtain in-shadow selection
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-02-24 00:07 UTC by Ryosuke Niwa
Modified: 2012-03-02 22:25 UTC (History)
1 user (show)

See Also:


Attachments

Description Ryosuke Niwa 2012-02-24 00:07:45 UTC
" the selection, returned by the window.getSelection() method must never return a selection within a shadow DOM subtree."

We need some way to obtain selection inside the shadow DOM. Maybe shadowRoot.selection?
Comment 1 Dimitri Glazkov 2012-02-24 18:23:32 UTC
Excellent idea. Will spec.
Comment 2 Dimitri Glazkov 2012-03-02 22:25:32 UTC
http://dvcs.w3.org/hg/webcomponents/rev/9ff70a713eef