RESOLVED FIXED 30047
Incomplete repaint of text field in relative positioned inline at imdb.com
https://bugs.webkit.org/show_bug.cgi?id=30047
Summary Incomplete repaint of text field in relative positioned inline at imdb.com
mitz
Reported 2009-10-03 10:36:03 PDT
When typing in the search field at the top of <http://www.imdb.com/>, the bottom part of the text and of the insertion point is not painted at all times. Forcing a repaint corrects it. REGRESSION: The bug exists in TOT (r49059) as well as in Safari 4.0.3.
Attachments
Reduction (81 bytes, text/html)
2009-10-03 10:43 PDT, mitz
no flags
Implement offsetFromContainer(), mapLocalToContainer() and mapAbsoluteToLocalPoint() in RenderInline (24.50 KB, patch)
2009-10-27 14:26 PDT, mitz
simon.fraser: review+
mitz
Comment 1 2009-10-03 10:36:23 PDT
mitz
Comment 2 2009-10-03 10:43:56 PDT
Created attachment 40578 [details] Reduction
mitz
Comment 3 2009-10-26 15:43:05 PDT
Maybe this is a duplicate of bug 28700.
mitz
Comment 4 2009-10-27 14:26:45 PDT
Created attachment 41989 [details] Implement offsetFromContainer(), mapLocalToContainer() and mapAbsoluteToLocalPoint() in RenderInline
Simon Fraser (smfr)
Comment 5 2009-10-27 14:51:36 PDT
Comment on attachment 41989 [details] Implement offsetFromContainer(), mapLocalToContainer() and mapAbsoluteToLocalPoint() in RenderInline > +void RenderInline::mapLocalToContainer(RenderBoxModelObject* repaintContainer, bool useTransforms, bool fixed, TransformState& transformState) const > + bool preserve3D = useTransforms && (o->style()->preserves3D() || style()->preserves3D()); > + if (useTransforms && shouldUseTransformFromContainer(o)) { I don't think you'll ever fall into this path.shouldUseTransformFromContainer() checks to see if the layer has a transform, and that will never happen for inlines. > + if (useTransforms && shouldUseTransformFromContainer(o)) { Ditto r=me with those changes if you agree.
mitz
Comment 6 2009-10-27 16:34:35 PDT
Fixed in <http://trac.webkit.org/changeset/50184>. (In reply to comment #3) > Maybe this is a duplicate of bug 28700. Unfortunately, it’s not.
Kenneth Rohde Christiansen
Comment 7 2009-10-30 10:39:22 PDT
You checked in cross platform test result, but our Qt result differs slightly. -layer at (8,88) size 100x18 - RenderInline (relative positioned) {SPAN} at (0,0) size 100x18 +layer at (8,88) size 100x21 + RenderInline (relative positioned) {SPAN} at (0,0) size 100x21 which I guess it due to using a different font. Should I just checkin a platform dependent result for Qt?
Note You need to log in before you can comment on or make changes to this bug.