Bug 106281
| Summary: | [Shadow DOM] SHADOW_DOM protected code should be in dom/shadow directory | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Hajime Morrita <morrita> |
| Component: | DOM | Assignee: | Hajime Morrita <morrita> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | rniwa, webcomponents-bugzilla |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 103339 | ||
Hajime Morrita
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)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |