Changeset 65819 in webkit


Ignore:
Timestamp:
Aug 23, 2010 11:12:15 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-08-23 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Many LayoutTests crash when run with --html5-treebuilder
https://bugs.webkit.org/show_bug.cgi?id=44440

Our list of special tags is out of sync with the HTML5 spec. This
patch adds HTML to the list, which fixs a ton of crashers when parsing
fragments. We neet to sync up the list at some point, but we want to
make sure we have test coverage for all those changes, so I've left
that for a future patch.

  • html/HTMLTreeBuilder.cpp:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r65816 r65819  
     12010-08-23  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Many LayoutTests crash when run with --html5-treebuilder
     6        https://bugs.webkit.org/show_bug.cgi?id=44440
     7
     8        Our list of special tags is out of sync with the HTML5 spec.  This
     9        patch adds HTML to the list, which fixs a ton of crashers when parsing
     10        fragments.  We neet to sync up the list at some point, but we want to
     11        make sure we have test coverage for all those changes, so I've left
     12        that for a future patch.
     13
     14        * html/HTMLTreeBuilder.cpp:
     15
    1162010-08-23  Ilya Tikhonovsky  <loislo@chromium.org>
    217
  • trunk/WebCore/html/HTMLTreeBuilder.cpp

    r65785 r65819  
    138138    if (node->namespaceURI() != xhtmlNamespaceURI)
    139139        return false;
     140    // FIXME: This list is out of sync with the spec.
    140141    const AtomicString& tagName = node->localName();
    141142    return tagName == addressTag
     
    171172        || tagName == hgroupTag
    172173        || tagName == hrTag
     174        || tagName == htmlTag
    173175        || tagName == iframeTag
    174176        || tagName == imgTag
Note: See TracChangeset for help on using the changeset viewer.