Changeset 63870 in webkit


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

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

Reviewed by Eric Seidel.

Implement spec changes for basefont and bgsound
https://bugs.webkit.org/show_bug.cgi?id=42792

  • html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processStartTagForInBody): (WebCore::HTMLTreeBuilder::processStartTag): (WebCore::HTMLTreeBuilder::processStartTagForInHead):

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

Reviewed by Eric Seidel.

Implement spec changes for basefont and bgsound
https://bugs.webkit.org/show_bug.cgi?id=42792

  • html5lib/runner-expected-html5.txt:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63869 r63870  
     12010-07-21  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Implement spec changes for basefont and bgsound
     6        https://bugs.webkit.org/show_bug.cgi?id=42792
     7
     8        * html5lib/runner-expected-html5.txt:
     9
    1102010-07-21  Adam Barth  <abarth@webkit.org>
    211
  • trunk/LayoutTests/html5lib/runner-expected-html5.txt

    r63869 r63870  
    17917922
    18018024
    181 57
    182 58
    18318163
    18418277
     
    18618480
    18718581
    188 99
    189 100
    190186101
    191187102
     
    252248|         "abc"
    253249|     "foo"
    254 
    255 Test 57 of 102 in resources/tests19.dat failed. Input:
    256 <!doctype html><basefont><frameset>
    257 Got:
    258 | <!DOCTYPE html>
    259 | <html>
    260 |   <head>
    261 |   <body>
    262 |     <basefont>
    263 Expected:
    264 | <!DOCTYPE html>
    265 | <html>
    266 |   <head>
    267 |     <basefont>
    268 |   <frameset>
    269 
    270 Test 58 of 102 in resources/tests19.dat failed. Input:
    271 <!doctype html><bgsound><frameset>
    272 Got:
    273 | <!DOCTYPE html>
    274 | <html>
    275 |   <head>
    276 |   <body>
    277 |     <bgsound>
    278 Expected:
    279 | <!DOCTYPE html>
    280 | <html>
    281 |   <head>
    282 |     <bgsound>
    283 |   <frameset>
    284250
    285251Test 63 of 102 in resources/tests19.dat failed. Input:
     
    353319|   <head>
    354320|   <frameset>
    355 
    356 Test 99 of 102 in resources/tests19.dat failed. Input:
    357 <!doctype html><a><b></a><basefont>
    358 Got:
    359 | <!DOCTYPE html>
    360 | <html>
    361 |   <head>
    362 |   <body>
    363 |     <a>
    364 |       <b>
    365 |     <b>
    366 |       <basefont>
    367 Expected:
    368 | <!DOCTYPE html>
    369 | <html>
    370 |   <head>
    371 |   <body>
    372 |     <a>
    373 |       <b>
    374 |     <basefont>
    375 
    376 Test 100 of 102 in resources/tests19.dat failed. Input:
    377 <!doctype html><a><b></a><bgsound>
    378 Got:
    379 | <!DOCTYPE html>
    380 | <html>
    381 |   <head>
    382 |   <body>
    383 |     <a>
    384 |       <b>
    385 |     <b>
    386 |       <bgsound>
    387 Expected:
    388 | <!DOCTYPE html>
    389 | <html>
    390 |   <head>
    391 |   <body>
    392 |     <a>
    393 |       <b>
    394 |     <bgsound>
    395321
    396322Test 101 of 102 in resources/tests19.dat failed. Input:
  • trunk/WebCore/ChangeLog

    r63869 r63870  
     12010-07-21  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Implement spec changes for basefont and bgsound
     6        https://bugs.webkit.org/show_bug.cgi?id=42792
     7
     8        * html/HTMLTreeBuilder.cpp:
     9        (WebCore::HTMLTreeBuilder::processStartTagForInBody):
     10        (WebCore::HTMLTreeBuilder::processStartTag):
     11        (WebCore::HTMLTreeBuilder::processStartTagForInHead):
     12
    1132010-07-21  Adam Barth  <abarth@webkit.org>
    214
  • trunk/WebCore/html/HTMLTreeBuilder.cpp

    r63869 r63870  
    770770    }
    771771    if (token.name() == baseTag
     772        || token.name() == basefontTag
     773        || token.name() == "bgsound"
    772774        || token.name() == "command"
    773775        || token.name() == linkTag
     
    929931    }
    930932    if (token.name() == areaTag
    931         || token.name() == basefontTag
    932         || token.name() == "bgsound"
    933933        || token.name() == brTag
    934934        || token.name() == embedTag
     
    12331233        }
    12341234        if (token.name() == baseTag
     1235            || token.name() == basefontTag
     1236            || token.name() == "bgsound"
    12351237            || token.name() == linkTag
    12361238            || token.name() == metaTag
     
    13781380            return;
    13791381        }
    1380         if (token.name() == linkTag
     1382        if (token.name() == basefontTag
     1383            || token.name() == "bgsound"
     1384            || token.name() == linkTag
    13811385            || token.name() == metaTag
    13821386            || token.name() == noframesTag
     
    27392743    // FIXME: Atomize "command".
    27402744    if (token.name() == baseTag
     2745        || token.name() == basefontTag
     2746        || token.name() == "bgsound"
    27412747        || token.name() == "command"
    27422748        || token.name() == linkTag
Note: See TracChangeset for help on using the changeset viewer.