Reviewed by John Sullivan.
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10204
REGRESSION: title tag parsing problem breaks Travelocity and Google Analytics pages
* fast/parser/title-error-test-expected.checksum: Added.
* fast/parser/title-error-test-expected.png: Added.
* fast/parser/title-error-test-expected.txt: Added.
* fast/parser/title-error-test.html: Added.
WebCore:
Reviewed by John Sullivan.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10204
REGRESSION: title tag parsing problem breaks Travelocity and Google Analytics pages
Test: fast/parser/title-error-test.html
* html/HTMLParser.cpp: (WebCore::HTMLParser::handleError): Fixed an error
handling case that was skipping until a </style> tag in code that was shared
between both <title> and <style>. Also rearranged the code a tiny bit.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15859
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
-2006-08-11 David Kilzer <ddkilzer@kilzer.net>
+2006-08-14 Darin Adler <darin@apple.com>
- Reviewed by NOBODY (layout test fix).
+ Reviewed by John Sullivan.
+
+ - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10204
+ REGRESSION: title tag parsing problem breaks Travelocity and Google Analytics pages
+
+ * fast/parser/title-error-test-expected.checksum: Added.
+ * fast/parser/title-error-test-expected.png: Added.
+ * fast/parser/title-error-test-expected.txt: Added.
+ * fast/parser/title-error-test.html: Added.
+
+2006-08-11 David Kilzer <ddkilzer@kilzer.net>
Additional layout test fixes from hyatt's "Eliminate RenderImageButton" change
in r15839. See also r15840 for more layout test fixes.
--- /dev/null
+14f69e81c1adb1a2f0586ee660865fb8
\ No newline at end of file
--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x576
+ RenderBlock (anonymous) at (0,0) size 784x0
+ RenderInline {TIMER:TIME} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 0x0
+ RenderBlock (anonymous) at (0,0) size 784x18
+ RenderBlock {P} at (0,0) size 784x18
+ RenderInline {SPAN} at (0,0) size 75x18 [color=#008000]
+ RenderText {#text} at (0,0) size 75x18
+ text run at (0,0) width 75: "SUCCESS:"
+ RenderText {#text} at (75,0) size 147x18
+ text run at (75,0) width 147: " Content was displayed"
+ RenderBlock (anonymous) at (0,34) size 784x0
+ RenderInline {TIMER:TIME} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 0x0
--- /dev/null
+<!-- -->
+<timer:time>
+<title></title>
+<p><span style="color: green;">SUCCESS:</span> Content was displayed</p>
+</timer:time>
+2006-08-14 Darin Adler <darin@apple.com>
+
+ Reviewed by John Sullivan.
+
+ - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10204
+ REGRESSION: title tag parsing problem breaks Travelocity and Google Analytics pages
+
+ Test: fast/parser/title-error-test.html
+
+ * html/HTMLParser.cpp: (WebCore::HTMLParser::handleError): Fixed an error
+ handling case that was skipping until a </style> tag in code that was shared
+ between both <title> and <style>. Also rearranged the code a tiny bit.
+
2006-08-14 Darin Adler <darin@apple.com>
Reviewed by Hyatt.
* bindings/js/kjs_events.cpp:
(KJS::JSLazyEventListener::parseCode):
->>>>>>> .r15854
2006-08-12 Eric Seidel <eric@eseidel.com>
Reviewed by hyatt and mjs.
if (!head)
createHead();
if (head) {
- Node *newNode = head->addChild(n);
- if (newNode) {
- pushBlock(localName, tagPriority);
- setCurrent(newNode);
- if (!n->attached() && !m_fragment)
- n->attach();
- } else {
- setSkipMode(styleTag);
+ Node* newNode = head->addChild(n);
+ if (!newNode) {
+ setSkipMode(h->tagQName());
return false;
}
+ pushBlock(localName, tagPriority);
+ setCurrent(newNode);
+ if (!n->attached() && !m_fragment)
+ n->attach();
return true;
- } else if(inBody) {
- setSkipMode(styleTag);
+ }
+ if (inBody) {
+ setSkipMode(h->tagQName());
return false;
}
} else if (h->hasLocalName(bodyTag)) {