DescriptionAdd intentional optimization comment in Node::setTextContent
SPEC: http://dom.spec.whatwg.org/#dom-node-textcontent
Current spec describes to use new text node
on setting Node.textContent
However, current implementation added early return
for optimization purpose.
So this CL added a note as well as crbug pointer
to describe those explicitly.
TEST=LayoutTests/fast/dom/Node/textContent.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178386
Patch Set 1 #Patch Set 2 : Rebase layout tests case #
Total comments: 2
Patch Set 3 : Take review comment into consideration #Patch Set 4 : Take review comment into consideration #
Messages
Total messages: 16 (0 generated)
|