- From: <bugzilla@jessica.w3.org>
- Date: Thu, 20 Jun 2013 01:51:03 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22411
Bug ID: 22411
Summary: [Shadow]: Specify the interaction with
document.currentScript
Classification: Unclassified
Product: WebAppsWG
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Component Model
Assignee: dglazkov@chromium.org
Reporter: yutak@google.com
QA Contact: public-webapps-bugzilla@w3.org
Blocks: 14978
Section 4.1 reads:
> The nodes and named elements are not accessible using shadow host's
> document DOM tree accessors [...]
Document DOM tree accessors include document.currentScript
(cf.
<http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-tree-accessors>).
When a script element in a shadow tree is running, what should
document.currentScript return? From what I read the current specification,
a script element in a shadow tree should not be exposed to
document.currentScript, but it is unclear what should be returned instead.
It might be fine to return a script element in a shadow tree, because it can
only be obtained from the script inside the shadow tree (i.e. scripts on
the owner document will not be able to obtain the script element in the shadow
tree), if I understand correctly.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 20 June 2013 01:51:05 UTC