Changeset 142049 in webkit


Ignore:
Timestamp:
Feb 6, 2013 4:15:23 PM (11 years ago)
Author:
rafaelw@chromium.org
Message:

[HTMLTemplateElement] Non </template> end tags should be ignored in "template contents" insertion mode.
https://bugs.webkit.org/show_bug.cgi?id=109090

Reviewed by Adam Barth.

Source/WebCore:

https://dvcs.w3.org/hg/webcomponents/raw-file/38536d37fb82/spec/templates/index.html#template-contents-insertion-mode.

Test added to html5lib suite.

  • html/parser/HTMLTreeBuilder.cpp:

(WebCore::HTMLTreeBuilder::processEndTag):

LayoutTests:

  • html5lib/resources/template.dat:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r142048 r142049  
     12013-02-06  Rafael Weinstein  <rafaelw@chromium.org>
     2
     3        [HTMLTemplateElement] Non </template> end tags should be ignored in "template contents" insertion mode.
     4        https://bugs.webkit.org/show_bug.cgi?id=109090
     5
     6        Reviewed by Adam Barth.
     7
     8        * html5lib/resources/template.dat:
     9
    1102013-02-06  Stephen Chenney  <schenney@chromium.org>
    211
  • trunk/LayoutTests/html5lib/resources/template.dat

    r141327 r142049  
    956956|           <i>
    957957|             "Foo"
     958
     959#data
     960<body><template></div><div>Foo</div><template></template><tr></tr>
     961#errors
     962#document
     963| <html>
     964|   <head>
     965|   <body>
     966|     <template>
     967|       #document-fragment
     968|         <div>
     969|           "Foo"
     970|         <template>
     971|           #document-fragment
     972
     973#data
     974<body><div><template></div><tr><td>Foo</td></tr></template>
     975#errors
     976#document
     977| <html>
     978|   <head>
     979|   <body>
     980|     <div>
     981|       <template>
     982|         #document-fragment
     983|           <tr>
     984|             <td>
     985|               "Foo"
  • trunk/Source/WebCore/ChangeLog

    r142045 r142049  
     12013-02-06  Rafael Weinstein  <rafaelw@chromium.org>
     2
     3        [HTMLTemplateElement] Non </template> end tags should be ignored in "template contents" insertion mode.
     4        https://bugs.webkit.org/show_bug.cgi?id=109090
     5
     6        Reviewed by Adam Barth.
     7
     8        https://dvcs.w3.org/hg/webcomponents/raw-file/38536d37fb82/spec/templates/index.html#template-contents-insertion-mode.
     9
     10        Test added to html5lib suite.
     11
     12        * html/parser/HTMLTreeBuilder.cpp:
     13        (WebCore::HTMLTreeBuilder::processEndTag):
     14
    1152013-02-06  Alexandre Elias  <aelias@chromium.org>
    216
  • trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp

    r141328 r142049  
    22792279            return;
    22802280        }
    2281         setInsertionMode(InBodyMode);
    2282         processEndTag(token);
     2281
     2282        break;
    22832283#else
    22842284        ASSERT_NOT_REACHED();
Note: See TracChangeset for help on using the changeset viewer.