Changeset 85903 in webkit


Ignore:
Timestamp:
May 5, 2011 5:12:45 PM (13 years ago)
Author:
aestes@apple.com
Message:

2011-05-05 Andy Estes <aestes@apple.com>

Reviewed by Eric Seidel.

Implement document.innerHTML
https://bugs.webkit.org/show_bug.cgi?id=60316

ASSERT that contextElement is non-0 when constructing a HTMLTreeBuilder
for fragment parsing. This assertion will become invalid when
document.innerHTML is implemented, which is the only case where HTML5
specifies that a fragment will not have a context element.

  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85902 r85903  
     12011-05-05  Andy Estes  <aestes@apple.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Implement document.innerHTML
     6        https://bugs.webkit.org/show_bug.cgi?id=60316
     7
     8        ASSERT that contextElement is non-0 when constructing a HTMLTreeBuilder
     9        for fragment parsing. This assertion will become invalid when
     10        document.innerHTML is implemented, which is the only case where HTML5
     11        specifies that a fragment will not have a context element.
     12
     13        * html/parser/HTMLTreeBuilder.cpp:
     14        (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
     15
    1162011-05-05  Kevin Ollivier  <kevino@theolliviers.com>
    217
  • trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp

    r84371 r85903  
    375375    , m_hasPendingForeignInsertionModeSteps(false)
    376376{
     377    // FIXME: This assertion will become invalid if <http://webkit.org/b/60316> is fixed.
     378    ASSERT(contextElement);
    377379    if (contextElement) {
    378380        // Steps 4.2-4.6 of the HTML5 Fragment Case parsing algorithm:
Note: See TracChangeset for help on using the changeset viewer.