Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1462)

Side by Side Diff: LayoutTests/fast/block/float/float-mark-descendants-for-layout-crash-expected.html

Issue 195363007: Avoid unnecessary descents into nested boxes with floats. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Trying again Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <style>
Julien - ping for review 2014/04/23 00:50:54 DOCTYPE on all tests!!!! (I hate that Clusterfuzz
2 .c7 { float: right; }
3 .c8:nth-last-of-type(2n+1) { float: right;}
4 </style>
5 <script>
6 var nodes = Array();
7 function reference(domNode) {this.domNode = domNode;} function walk(a, currentPr efix, 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);}}
8 function boom() {
9 try { nodes[0] = document.createElement('meter'); } catch(e) {}
10 try { nodes[0].setAttribute('class', 'c7'); } catch(e) {}
11 try { document.documentElement.appendChild(nodes[0]); } catch(e) {}
12 try { nodes[58] = document.createElement('br'); } catch(e) {}
13 try { document.documentElement.appendChild(nodes[58]); } catch(e) {}
14 try { nodes[63] = document.createElement('h1'); } catch(e) {}
15 try { nodes[63].setAttribute('class', 'c8'); } catch(e) {}
16 try { document.documentElement.appendChild(nodes[63]); } catch(e) {}
17 try { nodes[66] = document.createElement('iframe'); } catch(e) {}
18 try { nodes[66].setAttribute('srcdoc', ''); } catch(e) {}
19 try { document.documentElement.appendChild(nodes[66]); } catch(e) {}
20 try { nodes[72] = document.createElement('sup'); } catch(e) {}
21 try { nodes[72].setAttribute('class', 'c7'); } catch(e) {}
22 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
23 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
24 }
25 window.onload = boom;
26 </script>
27
Julien - ping for review 2014/04/23 00:50:54 I really think that this should be a text-only tes
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698