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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html

Issue 2295653002: Use window.testRunner in if-clause (Closed)
Patch Set: a Created 4 years, 3 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 <style> 2 <style>
3 * { 3 * {
4 height: 4px; 4 height: 4px;
5 } 5 }
6 span { 6 span {
7 float: left; 7 float: left;
8 box-shadow: 1px 1px 1e8px red; 8 box-shadow: 1px 1px 1e8px red;
9 } 9 }
10 div { 10 div {
11 margin-top: 1e8px; 11 margin-top: 1e8px;
12 } 12 }
13 </style> 13 </style>
14 <div></div><span></span> 14 <div></div><span></span>
15 <script> 15 <script>
16 // Test for https://crbug.com/604331: this test passes if it does not crash. 16 // Test for https://crbug.com/604331: this test passes if it does not crash.
17 document.documentElement.appendChild(document.createTextNode('PASS')); 17 document.documentElement.appendChild(document.createTextNode('PASS'));
18 18
19 if (testRunner) 19 if (window.testRunner)
20 testRunner.dumpAsText(); 20 testRunner.dumpAsText();
21 </script> 21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698