Changeset 61990 in webkit
- Timestamp:
- Jun 28, 2010 2:56:30 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r61989 r61990 1 2010-06-28 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Don't dump contents of <script> elements in LayoutTests 6 https://bugs.webkit.org/show_bug.cgi?id=41277 7 8 Apparently we need to tell each element when we start and stop parsing 9 its children. If we don't do this, we see the contents of every script 10 and style element in dumpAsText LayoutTests. (This patch is *well* 11 covered by LayoutTests.) 12 13 * html/HTMLTreeBuilder.h: 14 (WebCore::HTMLTreeBuilder::ElementStack::pop): 15 (WebCore::HTMLTreeBuilder::ElementStack::push): 16 1 17 2010-06-28 Eric Seidel <eric@webkit.org> 2 18 -
trunk/WebCore/html/HTMLTreeBuilder.h
r61988 r61990 27 27 #define HTMLTreeBuilder_h 28 28 29 #include "Element.h" 29 30 #include "FragmentScriptingPermission.h" 30 31 #include "HTMLTokenizer.h" … … 41 42 class Document; 42 43 class DocumentFragment; 43 class Element;44 44 class Frame; 45 45 class HTMLToken; … … 123 123 void pop() 124 124 { 125 top()->finishParsingChildren(); 125 126 m_top = m_top->releaseNext(); 126 127 } … … 129 130 { 130 131 m_top.set(new ElementRecord(element, m_top.release())); 132 top()->beginParsingChildren(); 131 133 } 132 134
Note: See TracChangeset
for help on using the changeset viewer.