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

Side by Side Diff: LayoutTests/compositing/geometry/assert-marquee-timer.html

Issue 106773003: Make arguments to Document methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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
« no previous file with comments | « no previous file | LayoutTests/editing/style/bold-with-dom-changes.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .content { 5 .content {
6 -webkit-transform: translateZ(1px); 6 -webkit-transform: translateZ(1px);
7 display: block; 7 display: block;
8 width: 100px; 8 width: 100px;
9 height: 30px; 9 height: 30px;
10 background-color: green; 10 background-color: green;
(...skipping 19 matching lines...) Expand all
30 30
31 <script> 31 <script>
32 if (window.testRunner) { 32 if (window.testRunner) {
33 testRunner.waitUntilDone(); 33 testRunner.waitUntilDone();
34 testRunner.dumpAsText(); 34 testRunner.dumpAsText();
35 } 35 }
36 36
37 var times = 0; 37 var times = 0;
38 // Trigger "pending layouts", that might run after the marquee timer is fired. 38 // Trigger "pending layouts", that might run after the marquee timer is fired.
39 var counter = document.getElementById("counter"); 39 var counter = document.getElementById("counter");
40 var textNode = document.createTextNode(); 40 var textNode = document.createTextNode("");
41 counter.appendChild(textNode); 41 counter.appendChild(textNode);
42 var interval = setInterval(function() { 42 var interval = setInterval(function() {
43 textNode.nodeValue = Math.random(); 43 textNode.nodeValue = Math.random();
44 if ((++times) >= 10) { 44 if ((++times) >= 10) {
45 document.getElementById("container").remove(); 45 document.getElementById("container").remove();
46 textNode.nodeValue = ""; 46 textNode.nodeValue = "";
47 clearInterval(interval); 47 clearInterval(interval);
48 if (window.testRunner) 48 if (window.testRunner)
49 testRunner.notifyDone(); 49 testRunner.notifyDone();
50 } 50 }
51 }, 10); 51 }, 10);
52 </script> 52 </script>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/style/bold-with-dom-changes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698