DescriptionAdd CustomElementState for Custom Elements v1
This patch adds CustomElementState[1] for Custom Elements v1.
In order for v0 and v1 to co-exist and avoid complexity, the state is
stored separately from V0CustomElementState.
They can be set independently from each other, except DCHECK to ensure
an element can be customized by only by one of them.
[1] https://dom.spec.whatwg.org/#concept-element-custom-element-state
BUG=594918
Committed: https://crrev.com/f15adc94e6c7c22940472feefcee2e59071fec0c
Cr-Commit-Position: refs/heads/master@{#394734}
Patch Set 1 #Patch Set 2 : Custom -> Customized #Patch Set 3 : Fix test #
Total comments: 6
Patch Set 4 : Renamed to isDefined #
Total comments: 2
Patch Set 5 : Rename CustomElementCustomizedFlag to CustomElementCustomFlag #
Total comments: 5
Patch Set 6 : yosin review #Patch Set 7 : operator<<(std::ostream&, CustomElementState) #Patch Set 8 : build fix and UNREACHABLE -> NOTREACHED #
Messages
Total messages: 25 (11 generated)
|