Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 .green { | |
| 4 background: green; | |
| 5 float: right; | |
| 6 width: 50%; | |
| 7 height: 100px; | |
| 8 } | |
| 9 .yellow { | |
| 10 background: yellow; | |
| 11 } | |
| 12 </style> | |
| 13 <p>Test passes if the height of yellow box is identical with that of green box.< /p> | |
| 14 <div class='green'>Floating box</div> | |
| 15 <p class='yellow'> | |
| 16 <a href='#'>Set focus here.</a><br> | |
| 17 Text line. | |
| 18 <br style="clear:both"> | |
| 19 </p> | |
| 20 <script> | |
| 21 window.onload = function() { | |
| 22 var anchor = document.querySelector('a'); | |
|
mstensho (USE GERRIT)
2015/04/25 17:31:14
This test is flaky on my computer (without your fi
changseok
2015/04/26 01:09:01
Hrm. That's weird. I've never failed the test with
| |
| 23 anchor.focus(); | |
| 24 anchor.blur(); | |
| 25 } | |
| 26 </script> | |
| OLD | NEW |