Chromium Code Reviews| Index: LayoutTests/fast/css/ignore-empty-focus-ring-rects.html |
| diff --git a/LayoutTests/fast/css/ignore-empty-focus-ring-rects.html b/LayoutTests/fast/css/ignore-empty-focus-ring-rects.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e8fbbb376a472c9d3192fc9ac68356f84a320f59 |
| --- /dev/null |
| +++ b/LayoutTests/fast/css/ignore-empty-focus-ring-rects.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +.container { |
| + position: absolute; |
| + width: 100px; |
| +} |
| +.focus { |
| + outline: -webkit-focus-ring-color auto 5px; |
| +} |
| +.sub { |
| + margin-top: 50px; |
| + width: 100px; |
| + height: 100px; |
| + background-color: green; |
| +} |
| +</style> |
| +Should ignore empty rects when drawing focus ring. Passes if there is only a single focus ring around the green square. |
| +<div class="container"> |
| + <span class="focus"> |
| + <div class="sub"></div> |
| + </span> |
| +</div> |