Created attachment 330628 [details] Example of the bug (tree header cells with wrong width) 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.
Created attachment 330629 [details] [diff] [review] fix v0.1 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
Created attachment 330649 [details] [diff] [review] fix v0.2
Comment on attachment 330649 [details] [diff] [review] fix v0.2 Removing translation is definitely the right way to go
10 years ago
Created attachment 331290 [details] [diff] [review] fix v0.2 updated to trunk, no changes The patch had bitrotted due to bug 444837.
Attachment #330649 - Attachment is obsolete: true
Status: NEW → RESOLVED
Last Resolved: 10 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.