Foo.
Created attachment 209009 [details] pathc
Comment on attachment 209009 [details] pathc View in context: https://bugs.webkit.org/attachment.cgi?id=209009&action=review r=me with the cool stories we shared on IRC. We should clean this up in StyleElement::process(), too. > Source/WebCore/dom/ScriptElement.cpp:399 > + for (Text* textNode = TextNodeTraversal::firstChild(m_element); textNode; textNode = TextNodeTraversal::nextSibling(textNode)) > + content.append(textNode->data()); Can't you use TextNodeTraversal::contentsAsString() instead here?
https://trac.webkit.org/r154241