UNCONFIRMED 109280
Background shift when an element is partially off its container and positioned with a .5px
https://bugs.webkit.org/show_bug.cgi?id=109280
Summary Background shift when an element is partially off its container and positione...
pgpp05
Reported 2013-02-08 03:20:21 PST
Example URL: http://jsfiddle.net/yuHWw/1/ Steps to reproduce the problem: 1. The element must be positioned exactly at the middle of a subpixel (top/left ending with .5px, which occurs frequently using percent positions in a container with odd dimensions) 2. The element must be partially off the container, using a negative margin or a negative position What is the expected behavior? The background should be drawn from the origin of the element (0x0). Especially, if the background fits exactly in the element, it should not be repeated. What went wrong? The background is shifted, and an extra 1px strip is repeated on the visible edges. My UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11 Works well on FF (lastest) and IE9 Regards,
Attachments
Alexey Proskuryakov
Comment 1 2013-02-11 18:31:34 PST
Can you please attach a screenshot? I don't think that I see any brokenness in Safari, either shipping WebKit or a nightly build.
Note You need to log in before you can comment on or make changes to this bug.