[Webkit-unassigned] [Bug 18013] Margin auto: difference between centered divs and images in body background

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 6 15:14:18 PST 2010


stevethepocket at gmail.com changed:

           What    |Removed                     |Added
                 CC|                            |stevethepocket at gmail.com

--- Comment #3 from stevethepocket at gmail.com  2010-12-06 15:14:18 PST ---
I am using Windows 7 and have noticed this bug in both Chrome 8.0.552.215 and Safari 5.0.3. I downloaded the latest WebKit build (r73302) as per the recommendation and saw that it still has the problem. Curiously, my boss, who has a Mac, said over Skype that he's not experiencing it.

A lot of developers, including myself, use a combination of background-align:center and margin:auto for centered backgrounds, so getting them to play nice with each other is fairly important. To the point of being worth fixing in an automatic patch rather than waiting for Safari 6.

Curiously, this only happens when the window is wider than the background image. They both scale correctly from that point down. If you visit the link, shrink the window down to be narrower than the background, and start stretching the right edge of the window one pixel at a time, you can see the background uncover one pixel, then move right one pixel, then uncover, move, uncover, move, then move again when you get to the 1025-pixel mark. Very odd.

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