[Webkit-unassigned] [Bug 148221] New: Using the filter functional notation for background images results in wrong background-size rendering

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 20 08:07:36 PDT 2015


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

            Bug ID: 148221
           Summary: Using the filter functional notation for background
                    images results in wrong background-size rendering
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bjorklund.emil at gmail.com

When using the filter(<image>, <filter-list>) notation for loading a background-image, the background-size property is interpreted incorrectly.

Description:
The rectangle where the background is supposed to be drawn appears to be sized correctly, but inside that rectangle the actual pixels remain at the intrinsic size of the source image. In the demo linked below, the source image is 30px by 16px, and should be resized to 100px by 100px. As you can see in the demo, the image remains at 30x16, but the background tile is 100x100, causing the background tiles to leave transparent gaps. Any background-size measurement or filter combination seems to exhibit this bug.

Expected outcome: background-image should be stretched to 100x100 tiles, covering the element.

Tested on build r188682

Demo: http://jsbin.com/lodene/8/edit

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150820/8fde4d3b/attachment.html>


More information about the webkit-unassigned mailing list