Changeset 63813 in webkit


Ignore:
Timestamp:
Jul 21, 2010 5:22:48 AM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-07-21 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

<input> elements with no type attribute should be foster parented
https://bugs.webkit.org/show_bug.cgi?id=42725

Test progression.

  • html5lib/runner-expected-html5.txt:

2010-07-21 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

<input> elements with no type attribute should be foster parented
https://bugs.webkit.org/show_bug.cgi?id=42725

Fix spec transcription error.

  • html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processStartTagForInTable):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63811 r63813  
     12010-07-21  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        <input> elements with no type attribute should be foster parented
     6        https://bugs.webkit.org/show_bug.cgi?id=42725
     7
     8        Test progression.
     9
     10        * html5lib/runner-expected-html5.txt:
     11
    1122010-07-21  Yury Semikhatsky  <yurys@chromium.org>
    213
  • trunk/LayoutTests/html5lib/runner-expected-html5.txt

    r63799 r63813  
    17817810
    17917911
    180 20
    181180
    182181Test 7 of 24 in resources/html5test-com.dat failed. Input:
     
    231230|   <body>
    232231|     "∉"
    233 
    234 Test 20 of 24 in resources/html5test-com.dat failed. Input:
    235 <table><form><input type=hidden><input></form><div></div></table>
    236 Got:
    237 | <html>
    238 |   <head>
    239 |   <body>
    240 |     <div>
    241 |     <table>
    242 |       <form>
    243 |       <input>
    244 |         type="hidden"
    245 |       <input>
    246 Expected:
    247 | <html>
    248 |   <head>
    249 |   <body>
    250 |     <input>
    251 |     <div>
    252 |     <table>
    253 |       <form>
    254 |       <input>
    255 |         type="hidden"
    256232resources/entities01.dat:
    2572332
  • trunk/WebCore/ChangeLog

    r63812 r63813  
     12010-07-21  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        <input> elements with no type attribute should be foster parented
     6        https://bugs.webkit.org/show_bug.cgi?id=42725
     7
     8        Fix spec transcription error.
     9
     10        * html/HTMLTreeBuilder.cpp:
     11        (WebCore::HTMLTreeBuilder::processStartTagForInTable):
     12
    1132010-07-21  Adam Barth  <abarth@webkit.org>
    214
  • trunk/WebCore/html/HTMLTreeBuilder.cpp

    r63812 r63813  
    11321132    if (token.name() == inputTag) {
    11331133        Attribute* typeAttribute = token.getAttributeItem(typeAttr);
    1134         if (!typeAttribute || equalIgnoringCase(typeAttribute->value(), "hidden")) {
     1134        if (typeAttribute && equalIgnoringCase(typeAttribute->value(), "hidden")) {
    11351135            parseError(token);
    11361136            m_tree.insertSelfClosingHTMLElement(token);
Note: See TracChangeset for help on using the changeset viewer.