Closed
Bug 968201
Opened 11 years ago
Closed 11 years ago
White box visible on hovered background tabs Win7
Categories
(Firefox :: Theme, defect)
Tracking
()
VERIFIED
FIXED
Firefox 30
| Tracking | Status | |
|---|---|---|
| firefox29 | --- | unaffected |
| firefox30 | --- | verified |
People
(Reporter: jmjjeffery, Assigned: mstange)
References
Details
(Keywords: regression, Whiteboard: [Australis:P2][qa+])
Attachments
(1 file)
|
7.20 KB,
image/jpeg
|
Details |
See attached. I'm seeing a faint white-box on background tabs when hovered. I am suspecting bug 878023 is responsible.
Tested on win7 x64 m-c tinderbox build:
Good cset: https://hg.mozilla.org/mozilla-central/rev/1f170f9fead0
bad cset: https://hg.mozilla.org/mozilla-central/rev/8f7033c595b9
Updated•11 years ago
|
Blocks: australis-cust
Whiteboard: [Australis:P2]
Updated•11 years ago
|
Updated•11 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•11 years ago
|
||
I don't really have the time to debug this on Windows now, so I'll back out bug 878023. :(
| Assignee | ||
Comment 3•11 years ago
|
||
So this is actually reproducible on Mac, too, by setting layout.css.devPixelsPerPx to 1.1 and gfx.hidpi.enabled to 0.
I debugged this a bit and it looks like this is caused by border-width snapping. If I replace the definition of NS_ROUND_BORDER_TO_PIXELS(l,tpp) in nsStyleStruct.h with just (l), the bug goes away. (But we can't do that.)
The borders that are at fault here are those on .tab-background-middle:
border-left: @tabCurveHalfWidth@ solid transparent;
border-right: @tabCurveHalfWidth@ solid transparent;
Replacing them by paddings and using background-clip:content-box instead of border-box fixes this bug, too, but we can't do that because we already need background-clip:context-box together with padding-top for additional clipping of the background color of the selected tab.
I'm out of ideas for the moment.
Comment 4•11 years ago
|
||
fixed by backing out bug 878023
Assignee: mstange → nobody
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Assignee: nobody → mstange
Target Milestone: --- → Firefox 30
Updated•11 years ago
|
status-firefox29:
--- → unaffected
status-firefox30:
--- → fixed
Comment 5•11 years ago
|
||
Reproduced when setting layout.css.devPixelsPerPx to 1.1 on Nightly 2014-02-06, Win 7 x64.
Verified fixed FF 31.0a1 (2014-03-18).
Comment 6•11 years ago
|
||
(In reply to Paul Silaghi, QA [:pauly] from comment #5)
> Verified fixed FF 31.0a1 (2014-03-18).
Actually I meant FF 30.0a1 (2014-03-17)
You need to log in
before you can comment on or make changes to this bug.
Description
•