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

Side by Side Diff: LayoutTests/fast/dom/beforeload/link-before-load.html

Issue 205523003: Remove beforeload events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove more tests Created 6 years, 9 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 <html>
2 <head>
3 <style>
4 .block {
5 width: 100px;
6 height: 100px;
7 background-color: green;
8 }
9 </style>
10 <link onbeforeload="return false" rel="stylesheet" href="resources/fail.css">
11 <script src="resources/print.js"></script>
12 <script>
13 function test()
14 {
15 if (window.testRunner)
16 testRunner.dumpAsText();
17
18 if (document.getElementById('block').offsetWidth == 100)
19 print("PASS", "green");
20 else
21 print("FAIL", "red");
22 }
23 </script>
24 </head>
25 <body onload="test()">
26 <p>This page tests the beforeload event on link elements. You should see the wo rd PASS below underneath a green square.</p>
27 <hr>
28 <div id="block" class="block"></div>
29 <hr>
30 <div id="console"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698