Closed
Bug 756437
Opened 13 years ago
Closed 13 years ago
-moz-appearance: none;
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 605985
People
(Reporter: a.jansons, Unassigned)
References
()
Details
(Keywords: css-moz)
User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:13.0) Gecko/20120321 Firefox/13.0a2
Build ID: 20120321042010
Steps to reproduce:
Add CSS rules for hiding native visual controls of following HTML DOM elements:
<select>
<option></option>
</select>
<input type="search"/>
<input checked type="radio"/>
<input checked type="checkbox"/>
<style>
select, select option,
input[type=search],
input[type=radio],
input[type=checkbox]{
appearance:none;
-o-appearance:none;
-ie-appearance:none;
-moz-appearance:none;
-webkit-appearance:none;
border: #888 solid 1px;
background: #ccc;
}
</style>
Actual results:
in drop-down box showing ugly arrow visualized as button, but in radio box and select box - show checkmarks
http://jsfiddle.net/j8WvL/
Expected results:
must not show any additional controls (hide them)
Component: Untriaged → General
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Updated•13 years ago
|
Comment 2•13 years ago
|
||
"-moz-appearance: none;" should be used when you want to remove the system appearance of your element and style it yourself. To hide it, you should use "visibility: hidden;" or "display: none;".
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → INVALID
I want to remove the system appearance of your element and style it myself. But I can`t do it!
(In reply to Mounir Lamouri (:volkmar) (:mounir) from comment #2)
> "-moz-appearance: none;" should be used when you want to remove the system
> appearance of your element and style it yourself. To hide it, you should use
> "visibility: hidden;" or "display: none;".
Yes it is duplicate, but it stays with no-changes several years!
Try above HTML code in several browsers. And I don`t want hide controls, I just want restyle them! How can I do that?
I think we should have separate bug reports for checkboxes/radios and for any issues you see with selects. There's already one for checkboxes/radios. If there's not one for selects already, please file one (describing the issues with them), and mark this as a duplicate of either of those.
Comment 6•13 years ago
|
||
Select bug is bug 649849 I believe.
David, do you know which bug is the checkbox/radio one?
Updated•13 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•