[webkit-reviews] review requested: [Bug 11974] REGRESSION: Caret drawn over input when smaller than font size on initial focus : [Attachment 13229] if caret is on a layer make sure it is painted by that layer

bugzilla-request-daemon at macosforge.org bugzilla-request-daemon at macosforge.org
Sun Feb 18 13:31:00 PST 2007


Antti Koivisto <koivisto at iki.fi> has asked  for review:
Bug 11974: REGRESSION: Caret drawn over input when smaller than font size on
initial focus
http://bugs.webkit.org/show_bug.cgi?id=11974

Attachment 13229: if caret is on a layer make sure it is painted by that layer
http://bugs.webkit.org/attachment.cgi?id=13229&action=edit

------- Additional Comments from Antti Koivisto <koivisto at iki.fi>
Actual problem is that the caret is painted twice, once by the associated
renderer and another time by renderer's containing block. Painting done by the
containing block won't respect clipping established by the renderer.

I'm not actually sure why it is ever necessary to paint caret in both the
associated renderer and the containing block. The patch just fixes a case where
this double painting actually causes problems.



More information about the webkit-reviews mailing list