New tab title not properly updated when opening a new tab; this prevents userChrome.css styling of New Tab page

UNCONFIRMED
Unassigned

Status

()

Firefox
New Tab Page
P5
normal
UNCONFIRMED
2 months ago
2 months ago

People

(Reporter: Alex, Unassigned)

Tracking

57 Branch
Points:
---

Firefox Tracking Flags

(firefox57 wontfix, firefox58 affected)

Details

(Reporter)

Description

2 months ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20170908220146

Steps to reproduce:

Edit userChrome.css to include these lines:

#main-window[title^="New Tab"] #PersonalToolbar {
  /* intentionally empty */
}

#main-window:not([title^="New Tab"]) #PersonalToolbar {
   visibility: collapse !important;
}


Actual results:

When I open a new tab, the bookmarks bar remains hidden. However, if I switch away from the new tab, and then back, it appears. So, the title is initially not properly updated when a new is opened, which prevents the application of the CSS above. 


Expected results:

The title should properly be applied right from the start such that the userChrome.css applies to the new tab page, so we can style it with CSS.
(Reporter)

Comment 1

2 months ago
In fact, with the latest Nightly that I just downloaded, the title is erroneously displayed behind the tab bar and I can see that a new tab has the title "Nightly" rather than "New Tab".

Updated

2 months ago
Component: Untriaged → New Tab Page

Updated

2 months ago
status-firefox57: --- → wontfix
status-firefox58: --- → affected
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.