DescriptionRename ShadowRootType::OpenByDefault to ShadowRootType::V0.
The main reason we should distinguish OpenByDefault and Open explicitly until now is that both are created by the same API, Element::createShadowRoot().
Now we have Element::createShadowRoot and Element::attachShadow.
The reason to have OpenByDefault and Open became weak.
Using V0 is better than continuing to use OpenByDefault.
In summary:
- V0: created by Element::createShadowRoot
- Open or Closed: created by Element::attachShadow
V0 is also widely used in the spec discussion.
BUG=531990
Committed: https://crrev.com/6f45e3adca41a86787188f5a0f87f0b157165e08
Cr-Commit-Position: refs/heads/master@{#354460}
Patch Set 1 #Depends on Patchset: Messages
Total messages: 20 (8 generated)
|