Commit 10059be9 authored by hyatt's avatar hyatt
Browse files

Fix for <rdar://problem/5221838> REGRESSION (r21581): no content in idisk

        window at mac.com.

        Back out the change to make self-closed <script/> into a Dashboard quirk
        only.

        Reviewed by aroben

        * html/HTMLTokenizer.cpp:
        (WebCore::HTMLTokenizer::parseTag):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 54d2763d
2007-05-23 David Hyatt <hyatt@apple.com>
Fix for <rdar://problem/5221838> REGRESSION (r21581): no content in idisk
window at mac.com.
Back out the change to make self-closed <script/> into a Dashboard quirk
only.
Reviewed by aroben
* html/HTMLTokenizer.cpp:
(WebCore::HTMLTokenizer::parseTag):
2007-05-23 Patti <patti@apple.com>
 
Reviewed by David Harrison.
......@@ -1019,9 +1019,9 @@ HTMLTokenizer::State HTMLTokenizer::parseTag(SegmentedString &src, State state)
if (inViewSourceMode())
currToken.addViewSourceChar(curchar);
// This is a deliberate quirk for Dashboard (with a long sad history). We have to do this
// This is a deliberate quirk for (with a long sad history). We have to do this
// since widgets do <script src="foo.js"/> and expect the tag to close.
if (currToken.tagName == scriptTag && curchar == '/' && m_doc->frame() && m_doc->frame()->page()->settings()->usesDashboardBackwardCompatibilityMode())
if (currToken.tagName == scriptTag && curchar == '/')
currToken.flat = true;
++src;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment