Rename 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
Review URL: https://codereview.chromium.org/1407183002
Cr-Commit-Position: refs/heads/master@{#354460}
16 files changed