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

Side by Side Diff: LayoutTests/fast/text/line-break-between-text-nodes-with-inline-blocks.html

Issue 886463010: Make arguments to window.{move,resize}{To,By} non-optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 6 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 <!-- This is a regression test for http://crbug.com/305904 --> 3 <!-- This is a regression test for http://crbug.com/305904 -->
4 <head> 4 <head>
5 <script> 5 <script>
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 testRunner.useUnfortunateSynchronousResizeMode(); 9 testRunner.useUnfortunateSynchronousResizeMode();
10 } 10 }
11 11
12 window.onload = function() { 12 window.onload = function() {
13 document.body.offsetTop; 13 document.body.offsetTop;
14 b.style.display = "inline-block"; 14 b.style.display = "inline-block";
15 15
16 document.body.offsetTop; 16 document.body.offsetTop;
17 a.removeChild(c); 17 a.removeChild(c);
18 18
19 document.body.offsetTop; 19 document.body.offsetTop;
20 window.resizeTo(42); 20 window.resizeTo(42, window.outerHeight);
21 21
22 document.getElementById("results").innerText = "Test passes if no crash. " 22 document.getElementById("results").innerText = "Test passes if no crash. "
23 if (window.testRunner) { 23 if (window.testRunner) {
24 testRunner.notifyDone(); 24 testRunner.notifyDone();
25 } 25 }
26 } 26 }
27 </script> 27 </script>
28 </head> 28 </head>
29 <div style="width: 0px;">foo<span id="a"> 29 <div style="width: 0px;">foo<span id="a">
30 <span id="b"></span><span>bar</span><span id="c"></span> 30 <span id="b"></span><span>bar</span><span id="c"></span>
31 </span> 31 </span>
32 <span style="display:inline-block;"></span> 32 <span style="display:inline-block;"></span>
33 </div> 33 </div>
34 <div><pre id="results"></pre></div> 34 <div><pre id="results"></pre></div>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698