Summary: | [meta] Element should be able to have multiple shadow roots. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Shinya Kawanaka <shinyak> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | dglazkov, dominicc, hayato, morrita, shinyak | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 77930, 77931, 77935, 77938, 78596, 79008, 79221, 79342, 79854 | ||||||
Bug Blocks: | 76433, 77499, 77595 | ||||||
Attachments: |
|
Description
Shinya Kawanaka
2012-01-31 19:53:52 PST
As a first step, we want to have just an ability to have multiple shadow root. In this step, we don't consider how elements having multiple shadow roots are rendered. Note that some kinds of elements have shadow tree by own. We should decline to add shadow root in such elements. (In reply to comment #1) > Note that some kinds of elements have shadow tree by own. We should decline to add shadow root in such elements. Why? A large reason of introducing multiple shadow subtrees per element is to _allow_ overriding shadow DOM of an element with a "built-in" shadow subtree. Can you explain what pitfalls I am not seeing here? (In reply to comment #2) > (In reply to comment #1) > > Note that some kinds of elements have shadow tree by own. We should decline to add shadow root in such elements. > > Why? A large reason of introducing multiple shadow subtrees per element is to _allow_ overriding shadow DOM of an element with a "built-in" shadow subtree. Can you explain what pitfalls I am not seeing here? Ah... Sorry, I didn't understand the motivation of multiple shadow subtrees. I was afraid that a user breaks current input implementation... OK. That being the case, I don't have any reason to prevent overriding "built-in" shadow subtree. Created attachment 125066 [details]
Patch
All subbugs are landed. closing. |