Changeset 18939 for S60/trunk/WebCore
- Timestamp:
- 01/18/07 08:32:53 (2 years ago)
- Location:
- S60/trunk/WebCore
- Files:
-
- 3 modified
-
ChangeLog (modified) (1 diff)
-
khtml/html/htmltokenizer.cpp (modified) (3 diffs)
-
khtml/html/htmltokenizer.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
S60/trunk/WebCore/ChangeLog
r18936 r18939 1 2007-01-14 sareen <shyam.sareen@nokia.com> 2 3 Reviewed by Antti Kovisto.Browser 4 DESC: Browser - Form/The TC is not displayed, it's a white page displayed 5 http://bugzilla.opendarwin.org/show_bug.cgi?id=12269 6 7 WARNING: NO TEST CASES ADDED OR CHANGED 8 9 * khtml/html/htmltokenizer.cpp: 10 (khtml::HTMLTokenizer::parseTag): 11 * khtml/html/htmltokenizer.h: 12 1 13 2007-01-18 sareen <shyam.sareen@yahoo.com> 2 14 -
S60/trunk/WebCore/khtml/html/htmltokenizer.cpp
r16142 r18939 1028 1028 { 1029 1029 assert(!Entity ); 1030 #ifdef NOKIA_CHANGES 1031 slashAtEndOfTag = false; 1032 #endif 1030 1033 1031 1034 while ( !src.isEmpty() ) … … 1122 1125 1123 1126 // Accept empty xml tags like <br/>. We trim off the "/" so that when we call 1124 // getTagID, we'll look up "br" as the tag name and not "br/". 1127 // getTagID, we'll look up "br" as the tag name and not "br/". This will also 1128 // handle a case when some wrong tags such as <title/> is found and ther is no 1129 // end tag. 1130 1125 1131 if(len > 1 && ptr[len-1] == '/' ) 1126 ptr[--len] = '\0'; 1132 { 1133 #ifdef NOKIA_CHANGES 1134 slashAtEndOfTag = true; 1135 #endif 1136 ptr[--len] = '\0'; 1137 } 1127 1138 1128 1139 // Look up the tagID for the specified tag name (now that we've shaved off any … … 1527 1538 case ID_TITLE: 1528 1539 if (beginTag) { 1540 #ifdef NOKIA_CHANGES 1541 if(slashAtEndOfTag) 1542 break; 1543 #endif 1529 1544 searchStopper = titleEnd; 1530 1545 searchStopperLen = 7; 1531 title = true; 1546 title = true; 1532 1547 parseSpecial(src); 1533 1548 } -
S60/trunk/WebCore/khtml/html/htmltokenizer.h
r14720 r18939 381 381 //Are we executing an external script? 382 382 bool executingExternalScript; 383 //Sometimes, it is found that tag name is ended with slash 384 //For example, <title/>. But, after that there is not end tag. 385 bool slashAtEndOfTag; 383 386 #endif 384 387