[Webkit-unassigned] [Bug 87774] REGRESSION (r105515): reflection masks are truncated at zoom levels < 1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 31 15:44:27 PDT 2012


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





--- Comment #4 from Beth Dakin <bdakin at apple.com>  2012-05-31 15:44:26 PST ---
It seems like RenderBoxModelObject::calculateImageIntrinsicDimensions() does not always scale by the effectiveZoom so it doesn't make sense to always divide the zoom out. That's what happening in this test case. 

That is what is happening for the attached reduction. We return right away without scaling the dimensions:

IntSize RenderBoxModelObject::calculateImageIntrinsicDimensions(StyleImage* image, const IntSize& positioningAreaSize) const
{
    // A generated image without a fixed size, will always return the container size as intrinsic size.
    if (image->isGeneratedImage() && image->usesImageContainerSize())
        return IntSize(positioningAreaSize.width(), positioningAreaSize.height());

…

But there are other cases that don't scale too.

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