Chromium Code Reviews| Index: LayoutTests/fast/block/float/br-with-clear-3.html |
| diff --git a/LayoutTests/fast/block/float/br-with-clear-3.html b/LayoutTests/fast/block/float/br-with-clear-3.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9b3222897f0512e566cacbc67b1ae844d30ebc6a |
| --- /dev/null |
| +++ b/LayoutTests/fast/block/float/br-with-clear-3.html |
| @@ -0,0 +1,26 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +.green { |
| + background: green; |
| + float: right; |
| + width: 50%; |
| + height: 100px; |
| +} |
| +.yellow { |
| + background: yellow; |
| +} |
| +</style> |
| +<p>Test passes if the height of yellow box is identical with that of green box.</p> |
| +<div class='green'>Floating box</div> |
| +<p class='yellow'> |
| + <a href='#'>Set focus here.</a><br> |
| + Text line. |
| + <br style="clear:both"> |
| +</p> |
| +<script> |
| +window.onload = function() { |
| + 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
|
| + anchor.focus(); |
| + anchor.blur(); |
| +} |
| +</script> |