[Webkit-unassigned] [Bug 110895] Focus ring for a child composited layer is incorrectly offset by parent layer's position

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 27 10:21:13 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=110895





--- Comment #7 from Xianzhu Wang <wangxianzhu at chromium.org>  2013-02-27 10:23:37 PST ---
CSS3 seems to give browsers more flexibility about drawing outlines:

... User agents should use an algorithm for determining the outline that encloses a region appropriate for conveying the concept of focus to the user.

I don't think drawing a separate outline for the fully overflowed sub-element conveying more information about focus to the user. Instead, it seems to confuse the user.

I believe in many cases, the web page designer doesn't actually want an out-of-flow element to be a visual part of the ancestor elements. Drawing parent's  including out-of-flow sub-elements may not be the intention of the web page designer either.

===========
P.S. to #6:

For real focus ring (when an element is really focused):
- Firefox: position same as outline (enclosing sub-elements), using dotted black-and-white outline style.
- IE9: position same as outline (not enclosing sub-elements), using dotted black-and-white outline style. The sub-layer covers part of the focus ring.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list