Changeset 71209 in webkit


Ignore:
Timestamp:
Nov 2, 2010 8:56:46 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-11-02 James Simonsen <simonjam@chromium.org>

Reviewed by Adam Barth.

mathml in html sometimes incorrectly parsed
https://bugs.webkit.org/show_bug.cgi?id=48105

  • html5lib/resources/webkit01.dat: Test case for bug.

2010-11-02 James Simonsen <simonjam@chromium.org>

Reviewed by Adam Barth.

mathml in html sometimes incorrectly parsed
https://bugs.webkit.org/show_bug.cgi?id=48105

  • html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processEndTag): Fixed to match HTML5 spec.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r71207 r71209  
     12010-11-02  James Simonsen  <simonjam@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        mathml in html sometimes incorrectly parsed
     6        https://bugs.webkit.org/show_bug.cgi?id=48105
     7
     8        * html5lib/resources/webkit01.dat: Test case for bug.
     9
    1102010-11-02  Dmitry Titov  <dimich@chromium.org>
    211
  • trunk/LayoutTests/html5lib/resources/webkit01.dat

    r70293 r71209  
    573573|       <svg tfoot>
    574574|         <svg td>
     575
     576#data
     577<math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math>
     578#errors
     579#document
     580| <html>
     581|   <head>
     582|   <body>
     583|     <math math>
     584|       <math mrow>
     585|         <math mrow>
     586|           <math mn>
     587|             "1"
     588|         <math mi>
     589|           "a"
  • trunk/WebCore/ChangeLog

    r71208 r71209  
     12010-11-02  James Simonsen  <simonjam@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        mathml in html sometimes incorrectly parsed
     6        https://bugs.webkit.org/show_bug.cgi?id=48105
     7
     8        * html/parser/HTMLTreeBuilder.cpp:
     9        (WebCore::HTMLTreeBuilder::processEndTag): Fixed to match HTML5 spec.
     10
    1112010-11-02  Chris Guillory  <chris.guillory@google.com>
    212
  • trunk/WebCore/html/parser/HTMLTreeBuilder.cpp

    r71147 r71209  
    22962296                if (nodeRecord->element()->hasLocalName(token.name())) {
    22972297                    m_tree.openElements()->popUntilPopped(nodeRecord->element());
    2298                     break;
     2298                    resetForeignInsertionMode();
     2299                    return;
    22992300                }
    23002301                nodeRecord = nodeRecord->next();
Note: See TracChangeset for help on using the changeset viewer.