Closed
Bug 1389640
Opened 7 years ago
Closed 7 years ago
Location Bar Focus State Missing with Light and Dark Themes
Categories
(Firefox :: Theme, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox57 | --- | verified |
People
(Reporter: shorlander, Assigned: daleharvey)
References
(Blocks 1 open bug)
Details
(Whiteboard: [reserve-photon-visual])
Attachments
(1 file)
After switching to the Light or Dark theme the location bar no longer has focus state styling.
Updated•7 years ago
|
Priority: P1 → --
Whiteboard: [photon-visual] → [photon-visual] [triage]
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dharvey
Updated•7 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 57.2 - Aug 29
Flags: qe-verify?
Priority: -- → P1
Whiteboard: [photon-visual] [triage] → [reserve-photon-visual]
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
So the spec here (http://design.firefox.com/people/shorlander/photon/Mockups/macOS.html) shows we want to share the box shadow and border focus / active states between compact / non compact and light / dark / default themes. Not entirely certain what requires the overrides here (possibly different requirements with the previous spec?), but seems like the best is to either remove the rules or at least the !important, or add new duplicated !important rules for :hover etc which seems bad. Also changed the specificity so the search box gets the active states.
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8898231 [details] Bug 1389640 - Restore focus states for url bar in light/dark themes. https://reviewboard.mozilla.org/r/169590/#review174850 ::: browser/themes/shared/compacttheme.inc.css:110 (Diff revision 1) > text-shadow: none !important; > } > > /* URL bar and search bar*/ > #urlbar, > -#navigator-toolbox .searchbar-textbox { > +.searchbar-textbox { I suspect #navigator-toolbox is still needed here for when teh search bar is moved to the overflow panel. ::: browser/themes/shared/compacttheme.inc.css:114 (Diff revision 1) > #urlbar, > -#navigator-toolbox .searchbar-textbox { > +.searchbar-textbox { > background-color: var(--url-and-searchbar-background-color) !important; > background-image: none !important; > color: inherit !important; > - border: 1px solid var(--chrome-nav-bar-controls-border-color) !important; > + border: 1px solid var(--chrome-nav-bar-controls-border-color); Should probably just set border-color in a rule using :not([focused="true"]) ::: browser/themes/shared/compacttheme.inc.css:115 (Diff revision 1) > -#navigator-toolbox .searchbar-textbox { > +.searchbar-textbox { > background-color: var(--url-and-searchbar-background-color) !important; > background-image: none !important; > color: inherit !important; > - border: 1px solid var(--chrome-nav-bar-controls-border-color) !important; > - box-shadow: none !important; > + border: 1px solid var(--chrome-nav-bar-controls-border-color); > + box-shadow: none; Is this still useful at all?
Attachment #8898231 -
Flags: review?(dao+bmo)
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8898231 [details] Bug 1389640 - Restore focus states for url bar in light/dark themes. https://reviewboard.mozilla.org/r/169590/#review174854
Attachment #8898231 -
Flags: review?(dao+bmo) → review+
Pushed by dharvey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f4665a357f3a Restore focus states for url bar in light/dark themes. r=dao
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f4665a357f3a
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•7 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: ovidiu.boca
Comment 9•7 years ago
|
||
I verified this on Mac OS X 10.10, Windows 10 and Ubuntu 16.04 and I can't reproduce the issue any more. I will mark as verified fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•