OLD | NEW |
1 <style> | 1 <style> |
2 .floatingBefore::before { overflow: visible; float: left; content: open-quote; } | 2 .floatingBefore::before { overflow: visible; float: left; content: open-quote; } |
3 </style> | 3 </style> |
4 <script> | 4 <script> |
5 tbodyElement = document.createElement('tbody'); | 5 tbodyElement = document.createElement('tbody'); |
6 listItemElement = document.createElement('li'); | 6 listItemElement = document.createElement('li'); |
7 listItemElement.setAttribute('class', 'floatingBefore'); | 7 listItemElement.setAttribute('class', 'floatingBefore'); |
8 document.documentElement.appendChild(listItemElement); | 8 document.documentElement.appendChild(listItemElement); |
9 headerElement = document.createElement('header'); | 9 headerElement = document.createElement('header'); |
10 listItemElement.appendChild(headerElement); | 10 listItemElement.appendChild(headerElement); |
11 listItemElement.appendChild(document.createElement('sub')); | 11 listItemElement.appendChild(document.createElement('sub')); |
12 document.documentElement.offsetHeight; | 12 document.documentElement.offsetHeight; |
13 tbodyElement.appendChild(headerElement); | 13 tbodyElement.appendChild(headerElement); |
14 | 14 |
15 document.documentElement.appendChild(document.createTextNode('PASS if no crash o
r assert in debug')); | 15 document.documentElement.appendChild(document.createTextNode('PASS if no crash o
r assert in debug')); |
16 | 16 |
17 if (window.layoutTestController) | 17 if (window.layoutTestController) |
18 layoutTestController.dumpAsText(); | 18 layoutTestController.dumpAsText(); |
19 </script> | 19 </script> |
OLD | NEW |