Bug 106281 - [Shadow DOM] SHADOW_DOM protected code should be in dom/shadow directory
Summary: [Shadow DOM] SHADOW_DOM protected code should be in dom/shadow directory
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Hajime Morrita
URL:
Keywords:
Depends on:
Blocks: 103339
  Show dependency treegraph
 
Reported: 2013-01-07 17:44 PST by Hajime Morrita
Modified: 2019-10-04 22:09 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hajime Morrita 2013-01-07 17:44:11 PST
Currently Shadow DOM related files are scattered between dom/ and html/.
It could be organized in some better way:

- ShadowRoot and TreeScope: under dom/ (Doesn't change)
- ComposedTreeWalker: under dom/shadow/ (Move from html/shadow)
- ContentDistributor family and InsertionPoint: under dom/shadow/ (Move from html/shadow)

By doing this, we can
- eliminate dom-to-html dependency by moving distribution related code to dom/shadow/
- Clarify what part is SHADOW_DOM guarded code (which is under dom/shadow)