OLD | NEW |
---|---|
(Empty) | |
1 <html> | |
2 <head> | |
3 <script> | |
4 function updateTitle() { | |
5 document.title = document.getElementById('img').naturalHeight; | |
6 } | |
7 </script> | |
8 </head> | |
9 <!-- TODO(mnaganov): Remove setInterval once img.onload fix is landed in WebKi t (b/6088775). --> | |
klundberg
2012/09/05 16:47:03
Might be a good idea to move b/6088775 into crbug
mnaganov (inactive)
2012/09/05 16:58:10
Added crbug.com/146554.
| |
10 <body onload="updateTitle(); setInterval('updateTitle()', 500)"> | |
11 <img id="img" onload="updateTitle()" src="chrome.png" /> | |
12 </body> | |
13 </html> | |
OLD | NEW |