Use :root instead of #main-window in panelUI.inc.css
Categories
(Firefox :: Theme, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: dao, Assigned: xXAligatorXx, 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 #1544680 +++
: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/customizableui/panelUI.inc.css there is currently one selector that should use :root instead of #main-window.
Assignee | ||
Comment 1•6 years ago
|
||
Hi, Can I fix this?
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to Ali Abdoli from comment #1)
Hi, Can I fix this?
Sure! Do you have the source code? Have you built Firefox yet? Let me know if you have questions.
Assignee | ||
Comment 3•6 years ago
|
||
Yes! I have built Firefox, and I believe fixed the issue. I am uncertain as to the steps to create a pull request. Do you have a link I can look at?
Reporter | ||
Comment 4•6 years ago
|
||
(In reply to Ali Abdoli from comment #3)
Yes! I have built Firefox, and I believe fixed the issue. I am uncertain as to the steps to create a pull request. Do you have a link I can look at?
Here you are:
https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html#setting-up-arcanist
https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html#submitting-patches
Assignee | ||
Comment 5•6 years ago
|
||
: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.
Changed #main-window to :root in browser/themes/shared/customizableui/panelUI.inc.css
Updated•6 years ago
|
Reporter | ||
Comment 6•6 years ago
|
||
It looks like this patch doesn't have proper author information so I can't land it via Lando. Did you use the phabricator web UI to submit the patch? Or did you not set your email in your .hgrc
file? See: https://wiki.mozilla.org/Phabricator/FAQ#Lando_says_.22This_diff_does_not_have_the_proper_author_information_uploaded_to_Phabricator.22.2C_but_I_see_an_author_on_Phabricator._What.27s_wrong.3F
Comment 7•6 years ago
|
||
i would like more infromation please can you clarify so i can help fix the issue
Comment 8•6 years ago
|
||
ok
Reporter | ||
Comment 9•6 years ago
|
||
How exactly did you submit the patch to phabricator?
Assignee | ||
Comment 10•6 years ago
|
||
I used arc diff. I think the email was wrong but should be fixed now.
Reporter | ||
Comment 11•6 years ago
|
||
Still doesn't seem to work. Instead of updating the previous patch, can you submit a completely new one?
Assignee | ||
Comment 12•6 years ago
|
||
: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.
Changed #main-window to :root in browser/themes/shared/customizableui/panelUI.inc.css
Updated•6 years ago
|
Reporter | ||
Comment 13•6 years ago
|
||
Still broken :(
Assignee | ||
Comment 14•6 years ago
|
||
Alright I have finally fixed it. had to run "hg ci --amend --user "fName lName <email@email.com>""
Comment 15•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 16•6 years ago
|
||
bugherder |
Reporter | ||
Updated•6 years ago
|
Description
•