<div dir="ltr">On Mon, Jan 6, 2014 at 11:49 PM, Geoffrey Garen <span dir="ltr">&lt;<a href="mailto:ggaren@apple.com" target="_blank">ggaren@apple.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><br></div><div>
(2) ApplyStyleCommand.cpp:</div><div><br></div><div><div>    auto children = elementChildren(*dummySpanAncestor);</div><div>    for (auto child = children.begin(), end = children.end(); child != end; ++child) {</div><div>
<b>        if (isSpanWithoutAttributesOrUnstyledStyleSpan(&amp;*child))</b></div><div><b>            toRemove.append(&amp;*child);</b></div><div>    }</div></div></div></div></blockquote><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">
You are looking at a pretty old revision. In ToT this looks like</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>    for (auto&amp; child : childrenOfType&lt;Element&gt;(*dummySpanAncestor)) {<br>
</div><div>        if (isSpanWithoutAttributesOrUnstyledStyleSpan(&amp;child))</div><div>            toRemove.append(&amp;child);</div><div>    }</div></div></div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">  antti</span></div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div>
<div>Thanks,</div><div>Geoff</div></div><br>_______________________________________________<br>
webkit-dev mailing list<br>
<a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/webkit-dev" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br>
<br></blockquote></div><br></div></div>