DescriptionSet a bit on Custom Elements on creation to simplify wrapping
For now, this makes wrapping faster because the wrapper factory can
check this bit instead of examining the tag name and "is" attribute.
This bit will soon be required for correctness: Currently, because
elements are only activated at creation time, there is no window in
which the "is" attribute can be changed by script before the element
is upgraded. Soon we will do post-hoc upgrade of custom elements
created before their definitions are available. This bit will be
necessary for opting elements into that processing.
Committed in r149589; rolled out in r149593. Now avoids hitting assert.
BUG=233775
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149626
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use bits in Node instead of ElementRareData #Patch Set 3 : Now avoids hitting assert. #
Messages
Total messages: 13 (0 generated)
|