<div dir="ltr">On Mon, Jan 6, 2014 at 11:49 PM, Geoffrey Garen <span dir="ltr"><<a href="mailto:ggaren@apple.com" target="_blank">ggaren@apple.com</a>></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(&*child))</b></div><div><b> toRemove.append(&*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& child : childrenOfType<Element>(*dummySpanAncestor)) {<br>
</div><div> if (isSpanWithoutAttributesOrUnstyledStyleSpan(&child))</div><div> toRemove.append(&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>