[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

abarth at webkit.org abarth at webkit.org
Wed Dec 22 11:23:07 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 476f45a042d1f4f876994135a2eabaeda08f4fd2
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jul 21 12:22:48 2010 +0000

    2010-07-21  Adam Barth  <abarth at 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 at 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):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63813 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 0845ea1..4ccd562 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2010-07-21  Adam Barth  <abarth at 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  Yury Semikhatsky  <yurys at chromium.org>
 
         Reviewed by Pavel Feldman.
diff --git a/LayoutTests/html5lib/runner-expected-html5.txt b/LayoutTests/html5lib/runner-expected-html5.txt
index 88df220..9db6be4 100644
--- a/LayoutTests/html5lib/runner-expected-html5.txt
+++ b/LayoutTests/html5lib/runner-expected-html5.txt
@@ -177,7 +177,6 @@ resources/html5test-com.dat:
 9
 10
 11
-20
 
 Test 7 of 24 in resources/html5test-com.dat failed. Input:
 &lang;&rang;
@@ -230,29 +229,6 @@ Expected:
 |   <head>
 |   <body>
 |     "∉"
-
-Test 20 of 24 in resources/html5test-com.dat failed. Input:
-<table><form><input type=hidden><input></form><div></div></table>
-Got:
-| <html>
-|   <head>
-|   <body>
-|     <div>
-|     <table>
-|       <form>
-|       <input>
-|         type="hidden"
-|       <input>
-Expected:
-| <html>
-|   <head>
-|   <body>
-|     <input>
-|     <div>
-|     <table>
-|       <form>
-|       <input>
-|         type="hidden"
 resources/entities01.dat:
 2
 5
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 74553a4..388624b 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -2,6 +2,18 @@
 
         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):
+
+2010-07-21  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Eric Seidel.
+
         Fix fast/css/last-child-style-sharing.html
         https://bugs.webkit.org/show_bug.cgi?id=42731
 
diff --git a/WebCore/html/HTMLTreeBuilder.cpp b/WebCore/html/HTMLTreeBuilder.cpp
index 2f8c42b..4bcac10 100644
--- a/WebCore/html/HTMLTreeBuilder.cpp
+++ b/WebCore/html/HTMLTreeBuilder.cpp
@@ -1131,7 +1131,7 @@ void HTMLTreeBuilder::processStartTagForInTable(AtomicHTMLToken& token)
     }
     if (token.name() == inputTag) {
         Attribute* typeAttribute = token.getAttributeItem(typeAttr);
-        if (!typeAttribute || equalIgnoringCase(typeAttribute->value(), "hidden")) {
+        if (typeAttribute && equalIgnoringCase(typeAttribute->value(), "hidden")) {
             parseError(token);
             m_tree.insertSelfClosingHTMLElement(token);
             return;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list