Chromium Code Reviews| Index: LayoutTests/fast/block/float/float-mark-descendants-for-layout-crash-expected.html |
| diff --git a/LayoutTests/fast/block/float/float-mark-descendants-for-layout-crash-expected.html b/LayoutTests/fast/block/float/float-mark-descendants-for-layout-crash-expected.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..279434e2a167ddba6c992b5f7d0092d38aac4b6a |
| --- /dev/null |
| +++ b/LayoutTests/fast/block/float/float-mark-descendants-for-layout-crash-expected.html |
| @@ -0,0 +1,27 @@ |
| +<style> |
|
Julien - ping for review
2014/04/23 00:50:54
DOCTYPE on all tests!!!! (I hate that Clusterfuzz
|
| +.c7 { float: right; } |
| +.c8:nth-last-of-type(2n+1) { float: right;} |
| +</style> |
| +<script> |
| +var nodes = Array(); |
| +function reference(domNode) {this.domNode = domNode;} function walk(a, currentPrefix, index, domNode) {if(domNode == null) return; newPrefix = currentPrefix + "_" + index;a[newPrefix] = new reference(domNode);} function clear() {var a = new Array();walk(a, "", 0, document.documentElement);for(key in a) {a[key].domNode.parentNode.removeChild(a[key].domNode);}} |
| +function boom() { |
| + try { nodes[0] = document.createElement('meter'); } catch(e) {} |
| + try { nodes[0].setAttribute('class', 'c7'); } catch(e) {} |
| + try { document.documentElement.appendChild(nodes[0]); } catch(e) {} |
| + try { nodes[58] = document.createElement('br'); } catch(e) {} |
| + try { document.documentElement.appendChild(nodes[58]); } catch(e) {} |
| + try { nodes[63] = document.createElement('h1'); } catch(e) {} |
| + try { nodes[63].setAttribute('class', 'c8'); } catch(e) {} |
| + try { document.documentElement.appendChild(nodes[63]); } catch(e) {} |
| + try { nodes[66] = document.createElement('iframe'); } catch(e) {} |
| + try { nodes[66].setAttribute('srcdoc', ''); } catch(e) {} |
| + try { document.documentElement.appendChild(nodes[66]); } catch(e) {} |
| + try { nodes[72] = document.createElement('sup'); } catch(e) {} |
| + try { nodes[72].setAttribute('class', 'c7'); } catch(e) {} |
| + try { document.documentElement.appendChild(nodes[72]); } catch(e) {} |
|
Julien - ping for review
2014/04/23 00:50:54
Can we clean that up? All these try { } catch {} a
|
| + setTimeout('clear();', 700); |
|
Julien - ping for review
2014/04/23 00:50:54
This is never run under DRT as you don't call test
|
| +} |
| +window.onload = boom; |
| +</script> |
| + |
|
Julien - ping for review
2014/04/23 00:50:54
I really think that this should be a text-only tes
|