[Webkit-unassigned] [Bug 64686] New: Margin: 0 auto; and Background-position: center; don't align.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 18 03:40:30 PDT 2011


           Summary: Margin: 0 auto; and Background-position: center; don't
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://ianstormtaylor.com/experiments/_css-centering-t
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ian at ianstormtaylor.com

Created an attachment (id=101143)
 --> (https://bugs.webkit.org/attachment.cgi?id=101143&action=review)
A case study of the bug.

When you have something centered via `margin: 0 auto;` and something centered via `background-position: center ...;` the two objects don't line up when the window is an odd number of pixels wide.

The case study makes it really obvious if you resize the page.

Currently working in all other browsers including IE 8.0

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