Chromium Code Reviews| Index: LayoutTests/fast/runin/run-in-sibling-inline-block.html |
| diff --git a/LayoutTests/fast/runin/run-in-sibling-inline-block.html b/LayoutTests/fast/runin/run-in-sibling-inline-block.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3a9671535b2219834caf4880262792b47020b886 |
| --- /dev/null |
| +++ b/LayoutTests/fast/runin/run-in-sibling-inline-block.html |
| @@ -0,0 +1,24 @@ |
| +<style> |
|
Julien - ping for review
2013/07/23 21:40:12
The test is missing a DOCTYPE (or do we *really* n
|
| +.inlineBlock { display: inline-block; } |
| +.runin { display: run-in; } |
| +</style> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| +var figure; |
| +var fieldSet; |
|
Julien - ping for review
2013/07/23 21:40:12
We don't need to define these variables here as yo
|
| +function boom() { |
| + figure = document.createElement('figure'); |
| + figure.setAttribute('class', 'runin'); |
| + document.documentElement.appendChild(figure); |
| + fieldSet = document.createElement('fieldset'); |
| + document.documentElement.appendChild(fieldSet); |
| + document.body.offsetTop; |
| + fieldSet.setAttribute('class', 'inlineBlock'); |
| +} |
| +window.onload = boom; |
| +</script> |
| +<div> |
| +PASS if test does not crash. |
|
Julien - ping for review
2013/07/23 21:40:12
Instructions should be complete English sentences:
|
| +</div> |
| + |