Closed Bug 446463 Opened 12 years ago Closed 12 years ago
Widget Background can't snap to pixels properly, remove translation
Before DrawWidgetBackground is called, nsCSSRendering::PaintBackgroundWithSC pushes a translation to the context and resets the widget rect's offset to 0. However, the width of the rect is not enough information to correctly pixel-snap the rect. In bug 231313 I need the tabs to align neatly - it looks bad if they overlap / have gaps. Tree header cells also show this bug, see screenshot.
Maybe we should add something for Windows / GTK, too; however, from my understanding of that code, it's not really necessary.
Comment on attachment 330629 [details] [diff] [review] fix v0.1 This is wrong... new patch coming
Comment on attachment 330649 [details] [diff] [review] fix v0.2 Removing translation is definitely the right way to go
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a2
You need to log in before you can comment on or make changes to this bug.