[Webkit-unassigned] [Bug 8032] REGRESSION: Focus ring not completely redrawn after a Delete changes its size

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Apr 1 05:16:34 PST 2006


Graham.Dennis at gmail.com changed:

           What    |Removed                     |Added
   Attachment #7438|                            |review?
               Flag|                            |

------- Comment #4 from Graham.Dennis at gmail.com  2006-04-01 05:16 PDT -------
Created an attachment (id=7438)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=7438&action=view)

When an element changes size, only part of the element is redrawn. The part
that is redrawn is the difference between the old and the new rectangles taking
into account borders that need to be redrawn. However, this code was not also
taking into account outlines that may need to be redrawn. This patch fixes

The reason that the original testcase attached with this patch could not be
reproduced by adding document.execCommand("Delete"); to the end of the <script>
tag is that the document has not been rendered by this point, and so the
document is rendered only once, and hence correctly.

I modified the testcase (I will attach) uses
setTimeout("document.execCommand('Delete')", 0); to do the work, however,
DumpRenderTree does a pixel dump before the timeout has been reached, and the
test doesn't work in the LayoutTests. I don't know how else to cover this bug
with a layout test.

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

More information about the webkit-unassigned mailing list