Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Side by Side Diff: LayoutTests/fast/table/table-cell-border-no-doctype.html

Issue 203473002: Should not render the table cell border if the <td> is empty. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style>
4 table {
5 border: 1px solid blue;
6 width: 200px;
7 height: 100px;
8 }
9 </style>
10 <script>
11 function runTest()
12 {
13 var tableCell = document.getElementById('noChild');
14 var text = document.createTextNode(" ");
15 tableCell.appendChild(text);
16 }
17 </script>
18 </head>
19 <body onload="runTest()">
20 <table>
21 <tr>
22 <td width="50%" style=" border: 1px solid red;background-color: yellow;"><p></p></td>
23 <td width="50%" style=" border: 1px solid red; "></td>
24 </tr>
25 </table>
26 </br>
27 <table>
28 <tr>
29 <td width="50%" style=" border: 1px solid red;background-color: yellow;"><p></p></td>
30 <td id="noChild" width="50%" style=" border: 1px solid red; "></ td>
31 </tr>
32 </table>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698