Changeset 19324 in webkit
- Timestamp:
- Jan 31, 2007 8:26:51 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r19322 r19324 1 2007-01-31 Alexey Proskuryakov <ap@webkit.org> 2 3 Reviewed by Darin. 4 5 http://bugs.webkit.org/show_bug.cgi?id=12506 6 REGRESSION: Safari doesn't display hebrew text on a web page, 7 displayed correctly on Tiger 8 9 * fast/encoding/pseudo-tags-in-attributes-expected.txt: Added. 10 * fast/encoding/pseudo-tags-in-attributes.html: Added. 11 1 12 2007-01-31 Anders Carlsson <acarlsson@apple.com> 2 13 -
trunk/WebCore/ChangeLog
r19323 r19324 1 2007-01-31 Alexey Proskuryakov <ap@webkit.org> 2 3 Reviewed by Darin. 4 5 http://bugs.webkit.org/show_bug.cgi?id=12506 6 REGRESSION: Safari doesn't display hebrew text on a web page, 7 displayed correctly on Tiger 8 9 * loader/TextResourceDecoder.cpp: 10 (WebCore::TextResourceDecoder::checkForHeadCharset): Skip over 11 quoted attributes. 12 1 13 2007-01-31 David Carson <dacarson@gmail.com> 2 14 -
trunk/WebCore/loader/TextResourceDecoder.cpp
r19186 r19324 560 560 } 561 561 562 // Find where the opening tag ends. 563 const char* tagContentStart = ptr; 564 if (!end) { 565 while (*ptr != '>') { 566 if (*ptr == '\0') 567 return false; 568 if (*ptr == '\'' || *ptr == '"') { 569 char quoteMark = *ptr; 570 while (*ptr != quoteMark) { 571 if (*ptr == '\0') 572 return false; 573 ++ptr; 574 } 575 } 576 ++ptr; 577 } 578 } 579 562 580 if (!end && tag == metaTag) { 563 const char* end = ptr; 564 while (*end != '>' && *end != '\0') 565 end++; 566 if (*end == '\0') 567 break; 568 DeprecatedCString str(ptr, (end-ptr)+1); 581 DeprecatedCString str(tagContentStart, tagContentStart - ptr); 569 582 str = str.lower(); 570 583 int pos = 0;
Note: See TracChangeset
for help on using the changeset viewer.