[Webkit-unassigned] [Bug 52045] SVG image in HTML changes size as the window is resized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 7 22:17:15 PST 2011


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


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bdakin at apple.com




--- Comment #4 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-01-07 22:17:14 PST ---
This seems to be related to this code in RenderImage::computeReplacedLogicalWidth():

    if (m_imageResource->imageHasRelativeWidth())
        if (RenderObject* cb = isPositioned() ? container() : containingBlock()) {
            if (cb->isBox())
                m_imageResource->setImageContainerSize(IntSize(toRenderBox(cb)->availableWidth(), toRenderBox(cb)->availableHeight()));
        }

which was added in http://trac.webkit.org/changeset/28856

I don't grok why the image container size would be relative to the size of the containing block. Beth, do you recall?

-- 
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