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

Unified Diff: LayoutTests/fast/css/ignore-empty-focus-ring-rects.html

Issue 492433006: Don't add empty rects during addFocusRingRects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More rebaslines (real improvements!) Created 6 years, 4 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderInline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698