Changeset 63869 in webkit


Ignore:
Timestamp:
Jul 21, 2010 6:03:17 PM (14 years ago)
Author:
abarth@webkit.org
Message:

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

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:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63868 r63869  
     12010-07-21  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Update a list of tags to match changes in the HTML5 spec
     6        https://bugs.webkit.org/show_bug.cgi?id=42791
     7
     8        Testing makes perfect.
     9
     10        * html5lib/runner-expected-html5.txt:
     11
    1122010-07-21  Adam Barth  <abarth@webkit.org>
    213
  • trunk/LayoutTests/html5lib/runner-expected-html5.txt

    r63868 r63869  
    433433resources/tests20.dat:
    43443416
    435 24
    436 25
    437435
    438436Test 16 of 25 in resources/tests20.dat failed. Input:
     
    455453|       <button>
    456454|         <table>
    457 
    458 Test 24 of 25 in resources/tests20.dat failed. Input:
    459 <!doctype html><p><figcaption>
    460 Got:
    461 | <!DOCTYPE html>
    462 | <html>
    463 |   <head>
    464 |   <body>
    465 |     <p>
    466 |       <figcaption>
    467 Expected:
    468 | <!DOCTYPE html>
    469 | <html>
    470 |   <head>
    471 |   <body>
    472 |     <p>
    473 |     <figcaption>
    474 
    475 Test 25 of 25 in resources/tests20.dat failed. Input:
    476 <!doctype html><p><summary>
    477 Got:
    478 | <!DOCTYPE html>
    479 | <html>
    480 |   <head>
    481 |   <body>
    482 |     <p>
    483 |       <summary>
    484 Expected:
    485 | <!DOCTYPE html>
    486 | <html>
    487 |   <head>
    488 |   <body>
    489 |     <p>
    490 |     <summary>
    491455resources/webkit01.dat: PASS
    492456
  • trunk/WebCore/ChangeLog

    r63868 r63869  
     12010-07-21  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Update a list of tags to match changes in the HTML5 spec
     6        https://bugs.webkit.org/show_bug.cgi?id=42791
     7
     8        We need to atomize these strings at some point.
     9
     10        * html/HTMLTreeBuilder.cpp:
     11        (WebCore::HTMLTreeBuilder::processStartTagForInBody):
     12
    1132010-07-21  Adam Barth  <abarth@webkit.org>
    214
  • trunk/WebCore/html/HTMLTreeBuilder.cpp

    r63868 r63869  
    810810        || token.name() == dlTag
    811811        || token.name() == fieldsetTag
     812        || token.name() == "figcaption"
    812813        || token.name() == "figure"
    813814        || token.name() == footerTag
     
    819820        || token.name() == pTag
    820821        || token.name() == sectionTag
     822        || token.name() == "summary"
    821823        || token.name() == ulTag) {
    822824        processFakePEndTagIfPInButtonScope();
Note: See TracChangeset for help on using the changeset viewer.