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..6a49079ea6283db2c0d0276ebcf4ad3dae4c81bc |
| --- /dev/null |
| +++ b/LayoutTests/fast/runin/run-in-sibling-inline-block.html |
| @@ -0,0 +1,26 @@ |
| +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
Julien - ping for review
2013/07/24 23:47:39
Let's use HTML5 doctype: <!DOCTYPE html>
|
| +<html> |
| +<style> |
| +.inlineBlock { display: inline-block; } |
| +.runin { display: run-in; } |
| +</style> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| +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> |
| +<body> |
| +<div> |
| +This test has PASSED if it did not crash. |
| +</div> |
| +</body> |
| +</html> |