Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug25086.html
blob5302bd626044eea5dad794cf9735a3340098130d
1 <html>
2 <head>
3 <title>Test Case: text in cell appears to left of left margin created by cellpadding</title>
5 <style>
6 .someClass { font-weight: bold; }
7 </style>
9 </head>
10 <body>
12 <p>this table is regular html and the cell has a class attribute:</p>
14 <table id="test" border="2" cellpadding="25">
15 <tr>
16 <td class="someClass">padding?</td>
17 </tr>
18 <tr>
19 </tr>
20 </table>
22 <p>this table is partly created by javascript code and the cell has a class attribute. this is where the text appears to the left of the left margin created by the cellpadding:</p>
24 <table id="test2" border="2" cellpadding="25">
25 <tr>
26 </tr>
27 </table>
29 <p>this table is partly created by javascript code and the cell has no class attribute. here the text obeys the cellpadding value, although there is another problem with this table that i'm filing under a separate bug report:</p>
31 <table id="test3" border="2" cellpadding="25">
32 <tr>
33 </tr>
34 </table>
36 <script type="text/javascript">
39 var table = document.getElementById('test2');
40 var row = table.insertRow(0);
41 var cell = row.insertCell(0);
42 cell.setAttribute('class', 'someClass');
43 cell.appendChild(document.createTextNode('padding?'));
45 table = document.getElementById('test3');
46 row = table.insertRow(0);
47 cell = row.insertCell(0);
48 // cell.setAttribute('class', 'someClass');
49 cell.appendChild(document.createTextNode('padding?'));
53 </script>
55 </body>
56 </html>