[Webkit-unassigned] [Bug 125118] New: background-image position off with non-100% zoom with use of background-size property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 2 15:53:43 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=125118
Summary: background-image position off with non-100% zoom with
use of background-size property
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
URL: http://danauclair.com/webkit-bug.html
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: daniel.auclair at gmail.com
Originally filed with Chromium, but also exists in WebKit nightly & Safari, but at different zoom levels: https://code.google.com/p/chromium/issues/detail?id=260319
Simple test page: http://danauclair.com/webkit-bug.html
In Safari this bug can be seen when an element has a background-image (such as an image sprite containing multiple icons) and also sets the background-size in order to scale the image (used for 2x sprites, to scale properly for retina displays). If you zoom out once you can see the icon is no longer positioned correctly. If you zoom out to a second level, it lines up again, and if you zoom out to the third level it is incorrectly positioned again. When zooming in you can see the misalignment at the 5th zoom level. This bug also seems to exist in Chrome's fork of WebKit, but it occurs immediately upon zooming in at the first (110%) zoom level.
Doesn't seem to matter whether background-size is set via the shorthand syntax or as a separate priority. If background-size is not set (on a normal 1x sprite) zooming works properly.
--
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