Closed Bug 2094247 Opened 18 days ago Closed 17 days ago

Remove Nova conditions from split view content panels

Categories

(Firefox :: Tabbed Browser: Split View, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 2094661

People

(Reporter: sthompson, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-nova-cleanup])

Keep only the Nova styling of split view panels and the splitter in the content area, and stop forcing the pref in the split view tests.

CSS (browser/themes/shared/tabbrowser/content-area.css):

  • Unwrap the large top-level @media -moz-pref("browser.nova.enabled") block: #navigator-toolbox (background transition, overflow: clip), #browser and #tabbrowser-tabbox flex layout, and #tabbrowser-tabpanels > :not(.split-view-panel) .browserContainer (rounded start corners, separator borders toward the toolbox and sidebars, macOS scrollbar insets, fullscreen handling). This block holds the split view splitter rules even though it also affects things outside of split views.
  • #tabbrowser-tabpanels[splitview] .split-view-splitter and the [splitview-selected-column="0"] / [splitview-selected-column="1"] margin overrides: these sit inside the large top-level @media -moz-pref("browser.nova.enabled") block
  • The top-level Nova block for split view panels: .split-view-panel > .browserContainer radius, border and macOS scrollbar insets; .split-view-panel.deck-selected > .browserContainer border color and outline width; the notification-message border placement; and the split-view-footer insets.
  • #tabbrowser-tabpanels[splitview]: fold the Nova border-radius on .split-view-panel:not(.deck-selected) into its base rule.

Tests (browser/components/tabbrowser/test/browser/tabs/browser_tab_splitview_content_size.js):

  • Remove the SpecialPowers.pushPrefEnv calls that set browser.nova.enabled to true in test_selecting_a_panel_does_not_resize_content and test_selecting_a_panel_does_not_move_its_dialog.
Blocks: 2094248
Blocks: 2094250
Status: NEW → RESOLVED
Closed: 17 days ago
Duplicate of bug: 2094661
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.