Closed Bug 1192063 Opened 7 years ago Closed 7 years ago

Z-Order bug when mousing over tab-audio icon

Categories

(Firefox :: Tabbed Browser, defect)

Unspecified
Windows
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 42
Tracking Status
firefox42 --- verified

People

(Reporter: vladan, Assigned: ehsan.akhgari)

References

Details

Attachments

(2 files, 1 obsolete file)

Attached image Screenshot
No description provided.
Attachment #8644702 - Flags: review?(jaws)
Comment on attachment 8644702 [details] [diff] [review]
Adjust the z-index of the tab icon overlay to be higher than that of the tab icon

Review of attachment 8644702 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/themes/shared/tabs.inc.css
@@ +96,5 @@
>    margin-top: -12px;
>    -moz-margin-start: -16px;
>    display: none;
> +  position: relative;
> +  z-index: 4; /* the tab's icon z-index + 1 */

I'm able to fix this bug locally by just setting position:relative; on the .tab-icon-overlay. No z-index is needed on .tab-icon-image or .tab-icon-overlay and no position:relative needed on .tab-icon-image.
You're right!
Attachment #8644747 - Flags: review?(jaws)
Comment on attachment 8644747 [details] [diff] [review]
Create a stacking context for the tab overlay icon so that its background paints in front of the tab image

Review of attachment 8644747 [details] [diff] [review]:
-----------------------------------------------------------------

\o/
Attachment #8644747 - Flags: review?(jaws) → review+
https://hg.mozilla.org/mozilla-central/rev/7409dc9f90d7
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Verified fixed on Windows 7 64bit, Ubuntu 13.10 32bit and Mac OSX 10.9.5 using Aurora 42.0a2 (buildID: 20150818004007).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.