Reviewed by Eric Seidel.
Update a list of tags to match changes in the HTML5 spec
https://bugs.webkit.org/show_bug.cgi?id=42791
We need to atomize these strings at some point.
* html/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
2010-07-21 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Update a list of tags to match changes in the HTML5 spec
https://bugs.webkit.org/show_bug.cgi?id=42791
Testing makes perfect.
* html5lib/runner-expected-html5.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63869
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Reviewed by Eric Seidel.
+ Update a list of tags to match changes in the HTML5 spec
+ https://bugs.webkit.org/show_bug.cgi?id=42791
+
+ Testing makes perfect.
+
+ * html5lib/runner-expected-html5.txt:
+
+2010-07-21 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
HTMLTreeBuilder needs to update to match new spec behavior for <button>
https://bugs.webkit.org/show_bug.cgi?id=42233
| "a"
resources/tests20.dat:
16
-24
-25
Test 16 of 25 in resources/tests20.dat failed. Input:
<!doctype html><p><button><table>
| <p>
| <button>
| <table>
-
-Test 24 of 25 in resources/tests20.dat failed. Input:
-<!doctype html><p><figcaption>
-Got:
-| <!DOCTYPE html>
-| <html>
-| <head>
-| <body>
-| <p>
-| <figcaption>
-Expected:
-| <!DOCTYPE html>
-| <html>
-| <head>
-| <body>
-| <p>
-| <figcaption>
-
-Test 25 of 25 in resources/tests20.dat failed. Input:
-<!doctype html><p><summary>
-Got:
-| <!DOCTYPE html>
-| <html>
-| <head>
-| <body>
-| <p>
-| <summary>
-Expected:
-| <!DOCTYPE html>
-| <html>
-| <head>
-| <body>
-| <p>
-| <summary>
resources/webkit01.dat: PASS
resources/doctype01.dat:
Reviewed by Eric Seidel.
+ Update a list of tags to match changes in the HTML5 spec
+ https://bugs.webkit.org/show_bug.cgi?id=42791
+
+ We need to atomize these strings at some point.
+
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processStartTagForInBody):
+
+2010-07-21 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
HTMLTreeBuilder needs to update to match new spec behavior for <button>
https://bugs.webkit.org/show_bug.cgi?id=42233
|| token.name() == divTag
|| token.name() == dlTag
|| token.name() == fieldsetTag
+ || token.name() == "figcaption"
|| token.name() == "figure"
|| token.name() == footerTag
|| token.name() == headerTag
|| token.name() == olTag
|| token.name() == pTag
|| token.name() == sectionTag
+ || token.name() == "summary"
|| token.name() == ulTag) {
processFakePEndTagIfPInButtonScope();
m_tree.insertHTMLElement(token);