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

Side by Side Diff: LayoutTests/accessibility/table-detection.html

Issue 988443003: Don't add artifical 1 pixel width to empty tables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 </script> 5 </script>
6 <body id="body"> 6 <body id="body">
7 7
8 <h2 tabindex=0> 8 <h2 tabindex=0>
9 This should be a table because it has a thead. 9 This should be a table because it has a thead.
10 </h2> 10 </h2>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 </table> 78 </table>
79 79
80 <style type="text/css"> 80 <style type="text/css">
81 .appPol_080915_Lehman_Contributions { } .labelPol_080915_Lehman_Contributio ns { undefined } .hedPol_080915_Lehman_Contributions { font-size: 19px; font-fam ily:arial; font-weight:bold;color:#26386b;border-top:1px solid #a4abc1;border-le ft:1px solid #a4abc1;border-right:1px solid #a4abc1;font-family: Arial, Helvetic a, sans-serif; font-size: 100%;font-weight:bold;padding-left:4px;width:90%;heigh t:25px; } .deckPol_080915_Lehman_Contributions { color:#666;font-weight:bold; fo nt-family:verdana; font-size:11px;padding:5px 9px; } .subhedPol_080915_Lehman_Co ntributions { font-weight:bold;text-decoration:none;text-transform:uppercase;pad ding:3px 3px; } .colhdrPol_080915_Lehman_Contributions { color:ffffff; font-size :10px;font-weight:bold;background-color:999999; } .font1Pol_080915_Lehman_Contri butions { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; li ne-height: 140%; } .boxB_Pol_080915_Lehman_Contributions { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; line-height: 140%;;border-left:1p x #a4abc1 solid;border-bottom:1px #a4abc1 solid;border-right:1px #a4abc1 solid; ;width:100%; } .headlinePol_080915_Lehman_Contributions { font-weight:bold; } . headlinePol_080915_Lehman_Contributions:hover { } .headlinePol_080915_Lehman_Con tributions:visited { font-weight:bold;} .captionPol_080915_Lehman_Contributions { undefined} #NoBg { background-color:transparent; } .navlinkPol_080915_Lehman_C ontributions { color:000000;font-size: 10px;font-family:verdana;line-height: 13 0%;text-decoration:none; } .navlinkPol_080915_Lehman_Contributions:hover { color :cc3333; } .navlinkPol_080915_Lehman_Contributions:active { color:#cc0000; } .na vCellPol_080915_Lehman_Contributions { width:20px;text-align:center;background-c olor:#EEEEEE;border-left:1px #CCCCCC solid;border-top:1px #CCCCCC solid;padding: 2px;cursor:hand;width:100%; } .bulletPol_080915_Lehman_Contributions { color:CC0 000;font-family:verdana;font-size:11px;font-weight:bold;color:cc3333; } 81 .appPol_080915_Lehman_Contributions { } .labelPol_080915_Lehman_Contributio ns { undefined } .hedPol_080915_Lehman_Contributions { font-size: 19px; font-fam ily:arial; font-weight:bold;color:#26386b;border-top:1px solid #a4abc1;border-le ft:1px solid #a4abc1;border-right:1px solid #a4abc1;font-family: Arial, Helvetic a, sans-serif; font-size: 100%;font-weight:bold;padding-left:4px;width:90%;heigh t:25px; } .deckPol_080915_Lehman_Contributions { color:#666;font-weight:bold; fo nt-family:verdana; font-size:11px;padding:5px 9px; } .subhedPol_080915_Lehman_Co ntributions { font-weight:bold;text-decoration:none;text-transform:uppercase;pad ding:3px 3px; } .colhdrPol_080915_Lehman_Contributions { color:ffffff; font-size :10px;font-weight:bold;background-color:999999; } .font1Pol_080915_Lehman_Contri butions { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; li ne-height: 140%; } .boxB_Pol_080915_Lehman_Contributions { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; line-height: 140%;;border-left:1p x #a4abc1 solid;border-bottom:1px #a4abc1 solid;border-right:1px #a4abc1 solid; ;width:100%; } .headlinePol_080915_Lehman_Contributions { font-weight:bold; } . headlinePol_080915_Lehman_Contributions:hover { } .headlinePol_080915_Lehman_Con tributions:visited { font-weight:bold;} .captionPol_080915_Lehman_Contributions { undefined} #NoBg { background-color:transparent; } .navlinkPol_080915_Lehman_C ontributions { color:000000;font-size: 10px;font-family:verdana;line-height: 13 0%;text-decoration:none; } .navlinkPol_080915_Lehman_Contributions:hover { color :cc3333; } .navlinkPol_080915_Lehman_Contributions:active { color:#cc0000; } .na vCellPol_080915_Lehman_Contributions { width:20px;text-align:center;background-c olor:#EEEEEE;border-left:1px #CCCCCC solid;border-top:1px #CCCCCC solid;padding: 2px;cursor:hand;width:100%; } .bulletPol_080915_Lehman_Contributions { color:CC0 000;font-family:verdana;font-size:11px;font-weight:bold;color:cc3333; }
82 </style> 82 </style>
83 <h2 tabindex=0> 83 <h2 tabindex=0>
84 This should not be a table because it only has one valid cell (need more than one). 84 This should not be a table because it only has one valid cell (need more than one).
85 </h2> 85 </h2>
86 <table width=100% cellspacing=0 cellpadding=0> 86 <table width=100% cellspacing=0 cellpadding=0>
87 <tr> 87 <tr>
88 <td nowrap="1" class="labelPol_080915_Lehman_Contributions">
89 <td nowrap="1" class="hedPol_080915_Lehman_Contributions">Contributions</td> 88 <td nowrap="1" class="hedPol_080915_Lehman_Contributions">Contributions</td>
90 </tr></table> 89 </tr></table>
91 90
92 <style type="text/css"> 91 <style type="text/css">
93 .nmIS,.nmISH{padding-left:20px;padding-right:12px;cursor:pointer;} 92 .nmIS,.nmISH{padding-left:20px;padding-right:12px;cursor:pointer;}
94 .nmIP{padding-left:20px;padding-right:12px;font:60% Tahoma,sans-serif;color: #CC0000} 93 .nmIP{padding-left:20px;padding-right:12px;font:60% Tahoma,sans-serif;color: #CC0000}
95 .nmIB,.nmIBH,.nmIBD,.nmIBDH,.nmIK,.nmIKH,.nmIKD,.nmIKDH{padding-left:12px;pa dding-right:12px;cursor:pointer;} 94 .nmIB,.nmIBH,.nmIBD,.nmIBDH,.nmIK,.nmIKH,.nmIKD,.nmIKDH{padding-left:12px;pa dding-right:12px;cursor:pointer;}
96 .nmIS,.nmISH,.nmIP{border-bottom:1px solid #CCCCCC} 95 .nmIS,.nmISH,.nmIP{border-bottom:1px solid #CCCCCC}
97 .nmIS,.nmIBH,.nmIBDH,.nmIKH,.nmIP{background-color:#EEEEEE} 96 .nmIS,.nmIBH,.nmIBDH,.nmIKH,.nmIP{background-color:#EEEEEE}
98 .nmIKD,.nmIKDH{background-color:#CC0000} 97 .nmIKD,.nmIKDH{background-color:#CC0000}
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 tableHeading.parentElement.insertBefore(spacerElement, tableHead ing); 235 tableHeading.parentElement.insertBefore(spacerElement, tableHead ing);
237 236
238 var outputElement = document.createElement('pre'); 237 var outputElement = document.createElement('pre');
239 outputElement.innerText = output + '\n\n'; 238 outputElement.innerText = output + '\n\n';
240 tableHeading.parentElement.insertBefore(outputElement, tableHead ing.nextSibling); 239 tableHeading.parentElement.insertBefore(outputElement, tableHead ing.nextSibling);
241 } 240 }
242 } 241 }
243 </script> 242 </script>
244 </body> 243 </body>
245 </html> 244 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/css2.1/20110323/abspos-containing-block-initial-004e-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698