[Webkit-unassigned] [Bug 109280] New: Background shift when an element is partially off its container and positioned with a .5px

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 8 03:18:12 PST 2013


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

           Summary: Background shift when an element is partially off its
                    container and positioned with a .5px
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://jsfiddle.net/yuHWw/1/
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pgpp05 at yopmail.com


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,

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