[Webkit-unassigned] [Bug 83981] [Qt][WK2] Fixed elements position is wrong after zooming.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 11 05:45:09 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83981
--- Comment #8 from Yael <yael.aharon at nokia.com> 2012-06-11 05:45:08 PST ---
(In reply to comment #7)
> (From update of attachment 137332 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=137332&action=review
>
> > Source/WebCore/rendering/RenderBlock.cpp:3422
> > + if (o->style()->position() == FixedPosition && view())
>
> I don't think this is right and you should definitely ask Dave Hyatt for a review of this patch. Two reasons::
> 1) 99% of the time, fixed positioned objects are always added to their containing view.
> if (child->isPositioned()) {
> child->containingBlock()->insertPositionedObject(child);
> and if you see containingBlock()
> if (!isText() && m_style->position() == FixedPosition) {
> while (o && !o->isRenderView() && !(o->hasTransform() && o->isRenderBlock()))
> o = o->parent();
> we would only return our containing view.
> 2) There are some exceptions for cases like <foreignObject>. http://trac.webkit.org/changeset/119914
>
> This call is just redundant and forces things to be always added to renderview which is incorrect for cases like <foreignObject>, etc.
thanks for your comment, I'll take a look :)
--
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