OLD | NEW |
1 <style> | 1 <style> |
2 .listItem { display: list-item; text-decoration: none; -webkit-column-width: 10p
x; } | 2 .listItem { display: list-item; text-decoration: none; -webkit-column-width: 10p
x; } |
3 .colSpanAll { display: block; -webkit-column-span: all; } | 3 .colSpanAll { display: block; -webkit-column-span: all; } |
4 .absPosition { display: inherit; position: absolute; } | 4 .absPosition { display: inherit; position: absolute; } |
5 </style> | 5 </style> |
6 <script> | 6 <script> |
7 theadElement = document.createElement('thead'); | 7 theadElement = document.createElement('thead'); |
8 theadElement.setAttribute('class', 'listItem'); | 8 theadElement.setAttribute('class', 'listItem'); |
9 document.documentElement.appendChild(theadElement); | 9 document.documentElement.appendChild(theadElement); |
10 | 10 |
11 listItemElement = document.createElement('li'); | 11 listItemElement = document.createElement('li'); |
12 listItemElement.appendChild(document.createTextNode('PASS if no crash or assert
in debug')); | 12 listItemElement.appendChild(document.createTextNode('PASS if no crash or assert
in debug')); |
13 | 13 |
14 theadElement.appendChild(listItemElement); | 14 theadElement.appendChild(listItemElement); |
15 theadElement.appendChild(document.createElement('progress')); | 15 theadElement.appendChild(document.createElement('progress')); |
16 theadElement.appendChild(document.createElement('hgroup')); | 16 theadElement.appendChild(document.createElement('hgroup')); |
17 | 17 |
18 document.documentElement.offsetHeight; | 18 document.documentElement.offsetHeight; |
19 listItemElement.setAttribute('class', 'absPosition'); | 19 listItemElement.setAttribute('class', 'absPosition'); |
20 document.documentElement.offsetHeight; | 20 document.documentElement.offsetHeight; |
21 listItemElement.setAttribute('class', 'colSpanAll'); | 21 listItemElement.setAttribute('class', 'colSpanAll'); |
22 | 22 |
23 if (window.layoutTestController) | 23 if (window.layoutTestController) |
24 layoutTestController.dumpAsText(); | 24 layoutTestController.dumpAsText(); |
25 </script> | 25 </script> |
OLD | NEW |