Commit 3862c857 authored by hyatt's avatar hyatt

Fix for 3147213. <nobr> is treated like other inlines now,

	so it can contain blocks.  <wbr> is also fixed.  This fixes
	tvguide.com.

        Reviewed by john

        * khtml/html/dtd.cpp:
        (DOM::checkChild):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0a3036e3
2003-01-20 David Hyatt <hyatt@apple.com>
Fix for 3147213. <nobr> is treated like other inlines now,
so it can contain blocks. <wbr> is also fixed. This fixes
tvguide.com.
Reviewed by john
* khtml/html/dtd.cpp:
(DOM::checkChild):
2003-01-20 David Hyatt <hyatt@apple.com>
Gah. Fix positioned objects and floating objects so that they
......
2003-01-20 David Hyatt <hyatt@apple.com>
Fix for 3147213. <nobr> is treated like other inlines now,
so it can contain blocks. <wbr> is also fixed. This fixes
tvguide.com.
Reviewed by john
* khtml/html/dtd.cpp:
(DOM::checkChild):
2003-01-20 David Hyatt <hyatt@apple.com>
Gah. Fix positioned objects and floating objects so that they
......
......@@ -590,6 +590,8 @@ bool DOM::checkChild(ushort tagID, ushort childID)
case ID_LEGEND:
case ID_FONT:
case ID_A:
case ID_NOBR:
case ID_WBR:
return check_array(childID, tag_list_1);
case ID_P:
case ID_H1:
......@@ -620,8 +622,6 @@ bool DOM::checkChild(ushort tagID, ushort childID)
// BODY: _1 * + _2
if( check_array(childID, tag_list_1) ) return true;
return check_array(childID, tag_list_2);
case ID_NOBR:
case ID_WBR:
case ID_ADDRESS:
// ADDRESS: ( _0 | P ) *
if( check_array(childID, tag_list_0) ) return true;
......
Markdown is supported
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