Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <style> | |
|
Julien - ping for review
2013/07/23 21:40:12
The test is missing a DOCTYPE (or do we *really* n
| |
| 2 .inlineBlock { display: inline-block; } | |
| 3 .runin { display: run-in; } | |
| 4 </style> | |
| 5 <script> | |
| 6 if (window.testRunner) | |
| 7 testRunner.dumpAsText(); | |
| 8 var figure; | |
| 9 var fieldSet; | |
|
Julien - ping for review
2013/07/23 21:40:12
We don't need to define these variables here as yo
| |
| 10 function boom() { | |
| 11 figure = document.createElement('figure'); | |
| 12 figure.setAttribute('class', 'runin'); | |
| 13 document.documentElement.appendChild(figure); | |
| 14 fieldSet = document.createElement('fieldset'); | |
| 15 document.documentElement.appendChild(fieldSet); | |
| 16 document.body.offsetTop; | |
| 17 fieldSet.setAttribute('class', 'inlineBlock'); | |
| 18 } | |
| 19 window.onload = boom; | |
| 20 </script> | |
| 21 <div> | |
| 22 PASS if test does not crash. | |
|
Julien - ping for review
2013/07/23 21:40:12
Instructions should be complete English sentences:
| |
| 23 </div> | |
| 24 | |
| OLD | NEW |