Changeset 62636 in webkit


Ignore:
Timestamp:
Jul 7, 2010 1:41:10 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-07-06 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

<table> should auto-close <p> when not in quirks mode
https://bugs.webkit.org/show_bug.cgi?id=41740

  • html5lib/runner-expected-html5.txt:

2010-07-06 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

<table> should auto-close <p> when not in quirks mode
https://bugs.webkit.org/show_bug.cgi?id=41740

This is already covered by multiple tests in html5lib/runner.html

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

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r62634 r62636  
     12010-07-06  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        <table> should auto-close <p> when not in quirks mode
     6        https://bugs.webkit.org/show_bug.cgi?id=41740
     7
     8        * html5lib/runner-expected-html5.txt:
     9
    1102010-07-06  Eric Seidel  <eric@webkit.org>
    211
  • trunk/LayoutTests/html5lib/runner-expected-html5.txt

    r62634 r62636  
    39039017
    39139118
    392 22
    393392
    394393Test 16 of 23 in resources/tests3.dat failed. Input:
     
    450449|       "
    451450foo"
    452 
    453 Test 22 of 23 in resources/tests3.dat failed. Input:
    454 <!doctype html><html><body><p><table></table></body></html>
    455 Got:
    456 | <!DOCTYPE html>
    457 | <html>
    458 |   <head>
    459 |   <body>
    460 |     <p>
    461 |       <table>
    462 Expected:
    463 | <!DOCTYPE html>
    464 | <html>
    465 |   <head>
    466 |   <body>
    467 |     <p>
    468 |     <table>
    469451resources/tests4.dat:
    4704523
     
    31923174|     <p>
    31933175|       "spam"
    3194 |       <table>
    3195 |         <tbody>
    3196 |           <tr>
    3197 |             <td>
    3198 |               <img>
    3199 |       <g>
    3200 |         "quux"
    3201 |       "bar"
     3176|     <table>
     3177|       <tbody>
     3178|         <tr>
     3179|           <td>
     3180|             <img>
     3181|     <g>
     3182|       "quux"
     3183|     "bar"
    32023184Expected:
    32033185| <!DOCTYPE html>
     
    32503232|               <p>
    32513233|                 "spam"
    3252 |                 <table>
    3253 |                   <tbody>
    3254 |                     <tr>
    3255 |                       <td>
    3256 |                         <img>
    3257 |                 <g>
    3258 |                   "quux"
    3259 |                 "bar"
     3234|               <table>
     3235|                 <tbody>
     3236|                   <tr>
     3237|                     <td>
     3238|                       <img>
     3239|           <g>
     3240|             "quux"
     3241|     "bar"
    32603242Expected:
    32613243| <!DOCTYPE html>
  • trunk/WebCore/ChangeLog

    r62634 r62636  
     12010-07-06  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        <table> should auto-close <p> when not in quirks mode
     6        https://bugs.webkit.org/show_bug.cgi?id=41740
     7
     8        This is already covered by multiple tests in html5lib/runner.html
     9
     10        * html/HTMLTreeBuilder.cpp:
     11        (WebCore::HTMLTreeBuilder::processStartTagForInBody):
     12
    1132010-07-06  Eric Seidel  <eric@webkit.org>
    214
  • trunk/WebCore/html/HTMLTreeBuilder.cpp

    r62634 r62636  
    680680    }
    681681    if (token.name() == tableTag) {
    682         notImplemented();
     682        if (m_document->parseMode() != Document::Compat && m_tree.openElements()->inScope(pTag))
     683            processFakeEndTag(pTag);
    683684        m_tree.insertElement(token);
    684685        m_framesetOk = false;
Note: See TracChangeset for help on using the changeset viewer.