Nova content feed layout does not render four column layout
Categories
(Firefox :: New Tab Page, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox149 | --- | unaffected |
| firefox150 | --- | unaffected |
| firefox151 | --- | verified |
| firefox152 | --- | verified |
People
(Reporter: maxx, Assigned: maxx)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
From :thecount
Part of the changes for 2021460 caused styles from Base.scss to bleed over into the nova
<main>element. This was introduced when bug 2021460 moved the Nova content from a div to a main, which is semantically correct.
This caused the non Nova main rules to now apply to the new Nova main. Essentially the non Nova main isn't specific enough. So once we started using main in Nova, we started getting css rules we didn't intend.
Possible solutions:
- Override the css rules that are bleeding over, which is safer short term. As it fixes the symptom in the most minimal way, without impacting non Nova styles at all.
- Change the non Nova styles to be more specific. This fixes the root problem, which means problems like this would never happen again, but it also means we're making changes to non Nova, which adds additional risk to breaking the non Nova experience.
Scott recommend option 2.
Comment 1•2 months ago
|
||
Set release status flags based on info from the regressing bug 2021460
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 4•2 months ago
|
||
Updated•2 months ago
|
Backed out for causing bc failures @browser_parsable_css.js.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 10•2 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D295294
Updated•2 months ago
|
Comment 11•2 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: This fix impacts how many ads are displayed (when Nova is enabled) for the content feed and could impact revenue.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: See testing steps in https://phabricator.services.mozilla.com/D295294
- Risk associated with taking this patch: low
- Explanation of risk level: CSS only, and all the changes are behind a pref
- String changes made/needed?: No
- Is Android affected?: no
Updated•2 months ago
|
Updated•2 months ago
|
Comment 12•2 months ago
|
||
| uplift | ||
Updated•2 months ago
|
Comment 13•2 months ago
|
||
I have verified this issue using the latest Firefox Nightly 152.0a1 (Build ID: 20260421211246) on Windows 10 x64, macOS 15.7.3, and Ubuntu 24.04.1.
- After following the test plan from Phabricator, I can confirm the following:
- At ~1720px, the content feed correctly switches to a 4‑column layout.
- At ~1600px, the content feed switches back to a 3‑column layout, as expected.
- When the content feed is present, the logo and sidebar widget are properly displayed and align with the customization panel button.
- The search bar width behavior matches the requirements: minimum 4 columns, expanding to 6 columns when available, and up to 10 columns at maximum width.
- The logo/sidebar spacing remains locked to the page sides rather than centered, consistent with the updated layout rules.
- For Classic mode, after enabling the required preference and restarting the browser, the non‑Nova breakpoints match the expected release behavior.
Comment 14•2 months ago
|
||
I have verified this issue using the try build Firefox Beta 151.0b2 (Build ID: 20260423184233) from treeherder on Windows 10 x64, macOS 15.7.3, and Ubuntu 24.04.1.
- After following the test plan from Phabricator, I can confirm the following:
- At ~1720px, the content feed correctly switches to a 4‑column layout.
- At ~1600px, the content feed switches back to a 3‑column layout, as expected.
- When the content feed is present, the logo and sidebar widget are properly displayed and align with the customization panel button.
- The search bar width behavior matches the requirements: minimum 4 columns, expanding to 6 columns when available, and up to 10 columns at maximum width.
- The logo/sidebar spacing remains locked to the page sides rather than centered, consistent with the updated layout rules.
- For Classic mode, after enabling the required preference and restarting the browser, the non‑Nova breakpoints match the expected release behavior.
Updated•2 months ago
|
Description
•