| <!DOCTYPE html> |
| <html> |
| <style> |
| .c0 { display: inherit; } |
| .c10 { display: table-column-group; -webkit-column-span: all; } |
| .c11[class$="c11"] { vertical-align: -10; -webkit-column-width: 1px; } |
| .c17 { overflow: hidden; position: fixed; } |
| .c17::after { position: inherit; content: no-close-quote;</style> |
| <script> |
| window.onload = function() { |
| pElem = document.createElement('p'); |
| pElem.setAttribute('class', 'c11'); |
| |
| citeElem = document.createElement('cite'); |
| citeElem.setAttribute('class', 'c10'); |
| |
| buttonElem = document.createElement('button'); |
| buttonElem.setAttribute('class', 'c0'); |
| |
| document.documentElement.appendChild(pElem); |
| pElem.appendChild(buttonElem); |
| buttonElem.appendChild(citeElem); |
| |
| document.documentElement.offsetHeight; |
| buttonElem.setAttribute('class', 'c17'); |
| document.documentElement.offsetHeight; |
| document.documentElement.removeChild(pElem); |
| |
| document.body.innerHTML = "PASS if no crash or assert in debug"; |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| } |
| </script> |
| </html> |