[Webkit-unassigned] [Bug 128248] New: Large SVG sprite does not display (small does) with CSS background-position

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 5 07:41:51 PST 2014


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

           Summary: Large SVG sprite does not display (small does) with
                    CSS background-position
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: iOS
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: contact at benfrain.com
                CC: zimmermann at kde.org


Created an attachment (id=223233)
 --> (https://bugs.webkit.org/attachment.cgi?id=223233&action=review)
basic HTML page

If an HTML element is assigned an SVG background-image in CSS, it does not render if the vector graphic sprite is too 'large'.

Is this because the UA is rendering out a large image and before painting to screen, ignoring the defined size in the CSS (e.g. background-size: 749px 27px;)? For example, if an SVG has its width and height attributes set thus: width="15520" height="560", then iOS is unable to render the background image.

However, if exactly the same vector data is saved out into an SVG sprite with smaller (albeit still unit-less) dimensions iOS is able to render it.

A test page is attached, view it on an iOS device to witness the problem (or rather not witness it because nothing appears). View the file in the desktop and the image it shown.

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