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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/float/float-list-changed-before-layout-crash.html

Issue 1785663002: Make setBaseAndExtent's arguments non-optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use collapse() where possible (one test) Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style> 3 <style>
4 #el1 { 4 #el1 {
5 margin: 1px; 5 margin: 1px;
6 } 6 }
7 #el1:nth-last-child(2n) { 7 #el1:nth-last-child(2n) {
8 display: table-header-group; 8 display: table-header-group;
9 } 9 }
10 #el2:first-child { 10 #el2:first-child {
11 display: inline-table; 11 display: inline-table;
12 } 12 }
13 #el2:nth-last-child(2n) { 13 #el2:nth-last-child(2n) {
14 -webkit-appearance:discrete-capacity-level-indicator; 14 -webkit-appearance:discrete-capacity-level-indicator;
15 } 15 }
16 #el2 { 16 #el2 {
17 display: table-header-group; 17 display: table-header-group;
18 } 18 }
19 #el4 { 19 #el4 {
20 visibility: collapse; 20 visibility: collapse;
21 } 21 }
22 #el5:nth-last-child(2n) { 22 #el5:nth-last-child(2n) {
23 -webkit-appearance:discrete-capacity-level-indicator; 23 -webkit-appearance:discrete-capacity-level-indicator;
24 } 24 }
25 #el5 { 25 #el5 {
26 display: table-header-group; 26 display: table-header-group;
27 } 27 }
28 #el6 { 28 #el6 {
29 -webkit-border-after: solid; 29 -webkit-border-after: solid;
30 float: left; 30 float: left;
31 } 31 }
32 #el6:last-of-type { 32 #el6:last-of-type {
33 content: "B"; 33 content: "B";
34 } 34 }
35 #el7::before { 35 #el7::before {
36 content: "A"; 36 content: "A";
37 </style> 37 </style>
(...skipping 19 matching lines...) Expand all
57 document.body.appendChild(el5) 57 document.body.appendChild(el5)
58 el5.appendChild(document.createTextNode('A')) 58 el5.appendChild(document.createTextNode('A'))
59 el6=document.createElement('span') 59 el6=document.createElement('span')
60 el6.setAttribute('id','el6') 60 el6.setAttribute('id','el6')
61 document.body.appendChild(el6) 61 document.body.appendChild(el6)
62 document.body.appendChild(document.createElement('span')) 62 document.body.appendChild(document.createElement('span'))
63 el7=document.createElement('div') 63 el7=document.createElement('div')
64 el7.setAttribute('id','el7') 64 el7.setAttribute('id','el7')
65 document.body.appendChild(el7) 65 document.body.appendChild(el7)
66 document.designMode='on' 66 document.designMode='on'
67 window.getSelection().setBaseAndExtent(el3, 1) 67 window.getSelection().setBaseAndExtent(el3, 1, null, 0)
68 document.execCommand('InsertLineBreak') 68 document.execCommand('InsertLineBreak')
69 document.execCommand('selectall') 69 document.execCommand('selectall')
70 document.execCommand('strikethrough') 70 document.execCommand('strikethrough')
71 document.execCommand('FormatBlock', false, '<'+'pre>') 71 document.execCommand('FormatBlock', false, '<'+'pre>')
72 document.execCommand('Undo') 72 document.execCommand('Undo')
73 73
74 document.body.innerHTML = "PASS if no crash or assert in debug"; 74 document.body.innerHTML = "PASS if no crash or assert in debug";
75 75
76 if (window.testRunner) testRunner.dumpAsText(); 76 if (window.testRunner) testRunner.dumpAsText();
77 } 77 }
78 </script> 78 </script>
79 </body> 79 </body>
80 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698