[Webkit-unassigned] [Bug 21906] [Transforms] Double focus rings on text fields with transforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 7 16:41:54 PST 2008


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


simon.fraser at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-                     |simon.fraser at apple.com
                   |unassigned at lists.webkit.org |
             Status|NEW                         |ASSIGNED
  Attachment #24976|                            |review?(koivisto at iki.fi)
               Flag|                            |




------- Comment #3 from simon.fraser at apple.com  2008-11-07 16:41 PDT -------
Created an attachment (id=24976)
 --> (https://bugs.webkit.org/attachment.cgi?id=24976&action=view)
Patch, testcase

This is a nasty fix and I don't like it, but I can't think of another way.

The problem is that RenderFlow::addFocusRingRects() is computing an absolute
rect for the focus ring of a child, but there's a transform in the parent chain
(so the CTM has been changed). The only way to really fix this is to have each
child of the RenderFlow draw its own part of the focus ring (since one of those
children may be transformed). Amassing a set of focus rects as the code does
not is never going to work correctly in all cases.

However, this patch fixes the simple case of a transformed <input> or
<textarea>


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



More information about the webkit-unassigned mailing list