Open
Bug 1638577
Opened 5 years ago
Updated 1 year ago
question/bug(userChrome.css): placeholders customization
Categories
(Firefox :: Toolbars and Customization, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: vspobog, Unassigned)
Details
Attachments
(1 obsolete file)
1. Summary
I can't customize placeholders in address bar and search bar.
I successfully customize my Firefox bookmarks, context menu, toolbar buttons, icons and so on, but I can't customize placeholders.
Possible bug.
2. Reproducibility
I reproduce the problem in a portable Firefox version without any addons and user settings (besides toolkit.legacyUserProfileCustomizations.stylesheets = true).
3. Steps to reproduce
I created a file userChrome.css, its content:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.searchbar-textbox::placeholder,
#urlbar-input::placeholder,
.urlbar-input-box::placeholder,
.urlbar-input-box > .urlbar-input::placeholder,
#searchbar .textbox-input::placeholder,
#urlbar *|*.textbox-input::placeholder,
*|*.textbox-input::placeholder,
moz-input-box::placeholder,
input::urlbar-input::placeholder,
html:input::urlbar-input::placeholder,
input::placeholder,
textarea::placeholder,
html:input::placeholder,
::placeholder
{
color: red !important;
opacity: 1 !important;
}
I saved userChrome.css → I restarted Firefox.
4. Expected behavior
Red placeholders.
5. Current behavior
No effect.
6. Not helped
- I searched information about this problem in Google and Bugzilla.
- As described here, I enabled and run BrowserToolbox → I found required CSS elements for placeholders. I tried to customize my placeholders, use them (see item 3 of my issue) in
userChrome.css. - I searched
::placeholderin alluserChrome.cssGitHub files. I tried to customize my placeholders (see item 3 of my issue) as another GitHub users. - Adding
@namespace url(http://www.w3.org/1999/xhtml);line as in Firefox defaultforms.css. - Adding
-moz-appearance: none !important;.
7. Environment
- Windows 10.0.18363 Pro N for Workstations 64-bit EN
- Firefox Portable 76.0.1 (64-bit)
Thanks.
| Reporter | ||
Updated•5 years ago
|
Summary: Customize placeholder → question/bug(userChrome.css): placeholders customization
Comment 1•5 years ago
|
||
.searchbar-textbox {
color: orange;
}
changes the placeholder and the user input text to orange. I also couldn't find a way to change the placeholder color independently.
Severity: -- → S4
Priority: -- → P5
Updated•1 year ago
|
Attachment #9384354 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•