DescriptionMove StyledMarkupAccumulator::shouldApplyWrappingStyle to its serializer
Now a node's parent is taken with Node::parent. To have the
accumulator work on the composed tree, we need to use
EditingInComposedTree::parent instead. This CL moves the code using
parentElement for appendText to StyledMarkupSerializer, that is already
templatized to switch the editing strategies.
This patch is result of collaboration work with yosin@chromium.org
for selection of web components. We've already prepared the new
node-traversal usages at crrev.com/1134473004.
BUG=275851
TEST=n/a; no behavior change
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197246
Patch Set 1 #
Total comments: 7
Patch Set 2 : yosin's review #
Total comments: 8
Patch Set 3 : yosin's review #
Total comments: 2
Patch Set 4 : rebase #Patch Set 5 : #Patch Set 6 : rebase #Patch Set 7 : rebase #
Total comments: 4
Patch Set 8 : yosin's review #
Messages
Total messages: 16 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||