Changeset 21819 in webkit
- Timestamp:
- May 26, 2007 11:09:36 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r21818 r21819 1 2007-05-26 David Hyatt <hyatt@apple.com> 2 3 Fix for radar bug 5219562, PNG isn't displayed on SVG test suite. 4 Improve <object> error handling so that it recovers properly when 5 <td> is used inside it. 6 7 Reviewed by olliej 8 9 Added fast/invalid/td-inside-object.html 10 11 * html/HTMLObjectElement.h: 12 (WebCore::HTMLObjectElement::tagPriority): 13 * html/HTMLParser.cpp: 14 (WebCore::HTMLParser::handleError): 15 * html/HTMLParserErrorCodes.cpp: 16 (WebCore::htmlParserErrorMessageTemplate): 17 * html/HTMLParserErrorCodes.h: 18 1 19 2007-05-26 David Hyatt <hyatt@apple.com> 2 20 -
trunk/WebCore/html/HTMLObjectElement.h
r21359 r21819 48 48 ~HTMLObjectElement(); 49 49 50 virtual int tagPriority() const { return 7; }50 virtual int tagPriority() const { return 5; } 51 51 52 52 virtual void parseMappedAttribute(MappedAttribute*); -
trunk/WebCore/html/HTMLParser.cpp
r21817 r21819 560 560 } 561 561 } else if (h->hasLocalName(objectTag)) { 562 reportError( BadObjectContentError, &localName);563 setSkipMode(objectTag);564 return false;562 reportError(MisplacedContentRetryError, &localName, ¤tTagName); 563 popBlock(objectTag); 564 handled = true; 565 565 } else if (h->hasLocalName(pTag) || isHeaderTag(currentTagName)) { 566 566 if (!isInline(n)) { -
trunk/WebCore/html/HTMLParserErrorCodes.cpp
r21746 r21819 35 35 "<head> must be a child of <html>. Content ignored.", 36 36 "Extra %tag1 encountered. Migrating attributes back to the original %tag1 element and ignoring the tag.", 37 "%tag1 is not allowed inside <object>. Skipping all content until </object> is encountered.",38 37 "<area> is not allowed inside %tag1. Moving the <area> into the nearest enclosing <map>.", 39 38 "%tag1 is not allowed inside %tag2. Content ignored.", -
trunk/WebCore/html/HTMLParserErrorCodes.h
r21746 r21819 33 33 MisplacedHeadError, 34 34 RedundantHTMLBodyError, 35 BadObjectContentError,36 35 MisplacedAreaError, 37 36 IgnoredContentError,
Note: See TracChangeset
for help on using the changeset viewer.