[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
Tue Feb 26 14:43:35 PST 2013


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


Xianzhu Wang <wangxianzhu at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Sometimes the focus ring is |Focus ring for a child
                   |at incorrect position for a |composited layer is
                   |layer in a composited       |incorrectly offset by
                   |scrollable area             |parent layer's position
                 CC|                            |darin at apple.com,
                   |                            |dbates at webkit.org,
                   |                            |shawnsingh at chromium.org,
                   |                            |simon.fraser at apple.com,
                   |                            |skyostil at chromium.org,
                   |                            |vollick at chromium.org




--- Comment #2 from Xianzhu Wang <wangxianzhu at chromium.org>  2013-02-26 14:45:59 PST ---
BTW Question: do we really need to draw the focus-ring (outline style=='auto") for an overflowed element?

For example, the outline for the following

<div style="outline: red auto thin; width: 50px; height: 50px">
  <div style="width: 100px; height: 25px"></div>
</div>

will be like
 ______________
|              |
|        ______|
|       |
|_______|

Is this intended?

Sometimes if the overflowed child is fully out of the parent box, then the outline may be like:
 ______________
|              |
|______________|
 _______
|       |
|_______|

Even worse thing is that the lower box will only appear when the area is invalidated. If part of the area is invalidated, only part of the box appears.

In addition, if the outline style is not 'auto' (e.g. 'solid' or 'dotted'), then only the rectangle of the element will be drawn, not including overflowed child. Is this also intended?

-- 
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