Summary: | [Shadow] parentTreeScope() of nested shadow DOM subtree returns document(). | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Takashi Sakamoto <tasak> | ||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | hayato, morrita, naginenis, shinyak, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 89073 | ||||||||
Attachments: |
|
Description
Takashi Sakamoto
2012-06-14 22:51:26 PDT
Created attachment 147770 [details]
Patch
Looks sane for me, wait for the reviewers' comment! Comment on attachment 147770 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=147770&action=review > Source/WebCore/testing/Internals.cpp:208 > +Node* Internals::parentTreeScopeRootNode(Node* node, ExceptionCode& ec) Why not just pass a TreeScope and make this parentScope() or something? I hope Internals APIs be a set of thin wrappers of private DOM API to make them orthogonal. Comment on attachment 147770 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=147770&action=review >> Source/WebCore/testing/Internals.cpp:208 >> +Node* Internals::parentTreeScopeRootNode(Node* node, ExceptionCode& ec) > > Why not just pass a TreeScope and make this parentScope() or something? > I hope Internals APIs be a set of thin wrappers of private DOM API to make them orthogonal. Is TreeScope available from JS...? Created attachment 148952 [details]
Patch
Comment on attachment 148952 [details] Patch Clearing flags on attachment: 148952 Committed r121027: <http://trac.webkit.org/changeset/121027> All reviewed patches have been landed. Closing bug. |