Closed
Bug 1542187
Opened 6 years ago
Closed 6 years ago
Use :root instead of #main-window in browser/themes/shared/identity-block/identity-block.inc.css
Categories
(Firefox :: Theme, task, P3)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: dao, Assigned: damien.feugas, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=css])
Attachments
(1 file, 1 obsolete file)
+++ This bug was initially created as a clone of Bug #1541799 +++
:root is potentially cheaper than #main-window, because IDs aren't actually guaranteed to be unique, so ID selectors are treated just like class selectors under the hood.
In browser/themes/shared/identity-block/identity-block.inc.css there's currently one selector that should use :root instead of #main-window.
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/38cc85765558
use :root selector in identity-block stylesheet r=dao
Reporter | ||
Updated•6 years ago
|
Assignee: nobody → damien.feugas
Comment 4•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Comment on attachment 9058054 [details]
Bug 1542187 - Changed #mainwindow to :root
Revision D27413 was moved to bug 1543043. Setting attachment 9058054 [details] to obsolete.
Attachment #9058054 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•