Skip to content

Let a page restyle Leaf's chrome on purpose #4030

Closed

Description

@max-sixty

Let a page restyle Leaf's chrome on purpose. Waits on the user to choose the route below. A page's rules reach a widget's controls when they name the widget (runtime/page-sheets.js), but chrome.css is unlayered and adopted after the page's sheets, so a page rule naming a chrome class wins only by out-weighing the chrome's own selector. Choose the deliberate route for the chrome — tokens it reads, named parts, or a layer the page ranks above — so a page can change a thread card's format or hide one surface where it needs to.


Migrated from TODO.md, Next › Layout: item 11 of 29 in Next, in the order TODO.md listed them.
The Layout section's introduction: The page arranges itself in CSS, starting from the Layout classes (browser/layouts.css), and Leaf keeps the contracts where pages, widgets and its chrome coordinate.
The Waits on the user marking and this wording come from #3891 (todo-review).

Activity

  1. added
    backlog
    next
    layout
    waits-on-user
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backloglayoutnextwaits-on-user

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions