Open Bug 2076756 Opened 1 month ago Updated 1 month ago

Nova redesign draws a thin gray line at the top of the screen when a toolbar's visibility is animated via CSS instead of native show/hide

Categories

(Firefox :: Tabbed Browser, defect)

Firefox 157
defect

Tracking

()

UNCONFIRMED

People

(Reporter: aerichards5, Unassigned, NeedInfo)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:157.0) Gecko/20100101 Firefox/157.0

Steps to reproduce

With browser.nova.enabled = true (the default) in Firefox 157+:

Enable userChrome.css support: toolkit.legacyUserProfileCustomizations.stylesheets = true.

Add the following minimal userChrome.css file and restart Firefox:

#navigator-toolbox {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
z-index: 9999 !important;
}
#nav-bar {
overflow: hidden !important;
max-height: 0 !important;
min-height: 0 !important;
transition: max-height 200ms ease !important;
}
#navigator-toolbox:hover #nav-bar {
max-height: 40px !important;
min-height: 40px !important;
}

Maximize the window, or enter fullscreen.
Move the mouse away from the top so #nav-bar collapses to 0 height, then look at the top edge of the window.

Actual results

A persistent thin gray line renders along the top edge of the window/content area when in fullscreen (f11) or maximized windows. Confirmed via DevTools in earlier testing that it isn't caused by border, box-shadow, outline, background-color, backdrop-filter, or native widget appearance on any element in the toolbox/content chain — it renders below the CSS cascade. Setting browser.nova.enabled to false removes this thin gray line completely, with this same CSS still in place.

Expected results

No thin gray line should render at the top of the screen — it should look the same whether a toolbar's height is controlled by this kind of CSS or by Firefox's own native show/hide, matching pre-Nova behavior.

The Bugbug bot thinks this bug should belong to the 'Firefox::Theme' component, but is not confident enough to move the bug to that component.

Component: Untriaged → General

Did the fix from bug 2076782 (in Firefox 159, so current beta/nightly, not yet on release) address this for you?

Component: General → Tabbed Browser
Flags: needinfo?(aerichards5)
See Also: → 2076782

(In reply to Arthur from comment #0)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:157.0) Gecko/20100101 Firefox/157.0

Steps to reproduce

With browser.nova.enabled = true (the default) in Firefox 157+:

Enable userChrome.css support: toolkit.legacyUserProfileCustomizations.stylesheets = true.

Add the following minimal userChrome.css file and restart Firefox:

#navigator-toolbox {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
z-index: 9999 !important;
}
#nav-bar {
overflow: hidden !important;
max-height: 0 !important;
min-height: 0 !important;
transition: max-height 200ms ease !important;
}
#navigator-toolbox:hover #nav-bar {
max-height: 40px !important;
min-height: 40px !important;
}

Maximize the window, or enter fullscreen.
Move the mouse away from the top so #nav-bar collapses to 0 height, then look at the top edge of the window.

Actual results

A persistent thin gray line renders along the top edge of the window/content area when in fullscreen (f11) or maximized windows. Confirmed via DevTools in earlier testing that it isn't caused by border, box-shadow, outline, background-color, backdrop-filter, or native widget appearance on any element in the toolbox/content chain — it renders below the CSS cascade. Setting browser.nova.enabled to false removes this thin gray line completely, with this same CSS still in place.

Expected results

No thin gray line should render at the top of the screen — it should look the same whether a toolbar's height is controlled by this kind of CSS or by Firefox's own native show/hide, matching pre-Nova behavior.

(In reply to :Gijs (he/him) from comment #2)

Did the fix from bug 2076782 (in Firefox 159, so current beta/nightly, not yet on release) address this for you?

I tested with Firefox Nightly version 160.0a1 (2026-10-13) (64-bit) and the issue still persists. It is the latest version when I tested just now.

Flags: needinfo?(aerichards5)
Flags: needinfo?(nsharpley)
You need to log in before you can comment on or make changes to this bug.