UNCONFIRMED 39549
1px background shift but content unmoved
https://bugs.webkit.org/show_bug.cgi?id=39549
Summary 1px background shift but content unmoved
Jeremiah Griffin
Reported 2010-05-22 17:13:25 PDT
Created attachment 56799 [details] Bug reduction and screenshots. At certain browser sizes, a page's background-image (when background-position is 0% 50%) will be shifted a single pixel to the right, but the page's content (<body> elements) does not move. This creates a noticeable difference between the background-image and the body elements when using faux columns. Rendering area dimensions that I've noticed this bug occurring at: 1326x361 (without vscroll bar) - Bug does not occur 1326x361 (with vscroll bar) - Bug occurs 1329x361 (without vscroll bar) - Bug occurs 1329x361 (with vscroll bar) - Bug does not occur Due to the presence of the vscroll bar effecting whether or not this bug occurs, I believe it is related to the value of 50% of the rendering area's width. Because 50% of an odd number cannot be even, a half-pixel is created and the value is rounded up, causing the background-image to be shifted to the right by one pixel. Reduced bug and screenshots of rendering areas with the above dimensions attached. Use 'add more content' to cause a vertical scroll bar.
Attachments
Bug reduction and screenshots. (15.43 KB, application/octet-stream)
2010-05-22 17:13 PDT, Jeremiah Griffin
no flags
reduction (3.95 KB, application/zip)
2010-05-24 13:38 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2010-05-24 13:38:14 PDT
Created attachment 56919 [details] reduction Same reduction, but archived once.
Alexey Proskuryakov
Comment 2 2010-05-24 13:39:28 PDT
I suspect it's a known issue.
Note You need to log in before you can comment on or make changes to this bug.