Repository navigation
fix(private): drop the private-browsing indicator id no Firefox ships - #221
Merged
AdamXweb merged 1 commit intoSep 1, 2026
Merged
Conversation
The rule hid the built-in private-browsing pill under three spellings: the old class, the current class, and an id. The id is in neither mozilla-esr140 nor mozilla-central -- zero hits for `id="private-browsing-indicator-with-label"` in either tree -- so that line has never matched anything on any Firefox this theme supports. The two class spellings stay, and the comment above them is still accurate: Firefox did rename the element, and covering the old class alongside the current one is what keeps older builds working. fxcss audit suggested renaming the id to the class form instead, which would have produced an exact duplicate of the line above it. Deleting is the fix it was reaching for. Co-Authored-By: Claude Fable 5 <[email protected]>
Theme previewRendered from No pixel differences on any platform — this PR does not change how the browser chrome renders in these views. Views: browser window, focused address bar, find bar, modal dialog — each in light and dark. Native popups (app menu, context menus) are OS-level windows and cannot be captured. Workflow run |
This was referenced Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



The rule hiding the built-in private-browsing pill covered three spellings: the old class, the current class, and an id. The id matches nothing on any Firefox this theme supports —
id="private-browsing-indicator-with-label"has zero hits in bothmozilla-esr140andmozilla-central.The two class spellings stay, and the comment above them is still accurate: Firefox did rename the element, and covering the old class alongside the current one is what keeps older builds working.
fxcss auditsuggested renaming the id to the class form, which would have produced an exact duplicate of the line directly above it. Deleting is the fix it was reaching for.What this does and does not fix
This clears one of the two selector findings the weekly
firefox-watchacts on. The other is#placesToolbar→#PlacesToolbar, and that one is a false positive the theme must not act on:#placesToolbaris the Library window's toolbar inplaces.xhtml, while#PlacesToolbaris the main window's bookmarks toolbar inbrowser.xhtml. Applying it would move Library styling onto the bookmarks bar.That is an fxcss bug — the audit consulted its shipped-chrome scan after the fuzzy matchers, so a name Firefox genuinely ships lost to a name it merely resembles. Fixed in AdamXweb/fxcss#24.
So the sequence is:
--strict --strict-vars#placesToolbarrenameVerified locally on Firefox 153 in all three states. Until fxcss#24 ships and the pin bumps, the watch will keep proposing the bad rename — this PR alone does not stop that.
🤖 Generated with Claude Code