Open
Bug 1417753
Opened 7 years ago
Updated 2 years ago
Implement -moz-appearance: searchfield-cancel-button which behave like -webkit-appearance: searchfield-cancel-button
Categories
(Core :: Layout: Form Controls, enhancement, P3)
Core
Layout: Form Controls
Tracking
()
NEW
People
(Reporter: lochang, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [webkitcompat] [webcompat])
According to comment 30 in bug 1368555, we should implement new value searchfield-cancel-button which behave like Chrome's searchfield-cancel-button (rendering a "X" cancel icon).
Reporter | ||
Comment 1•7 years ago
|
||
It seems there is no native cancel button in Cocoa [1][2], we would have to draw it ourselves...
[1] https://developer.apple.com/documentation/appkit/nsbutton.bezelstyle
[2] https://mackuba.eu/2014/10/06/a-guide-to-nsbutton-styles/
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Louis Chang [:louis] from comment #1)
> It seems there is no native cancel button in Cocoa [1][2], we would have to
> draw it ourselves...
>
> [1] https://developer.apple.com/documentation/appkit/nsbutton.bezelstyle
> [2] https://mackuba.eu/2014/10/06/a-guide-to-nsbutton-styles/
Not sure my understanding is correct... Mats what do you think?
Flags: needinfo?(mats)
Comment 4•7 years ago
|
||
<input type=search> has a cancel button inside it in Safari.
Not sure if they actually use Cocoa to draw it though.
We could look in the webkit/blink source I guess.
Comment 5•6 years ago
|
||
Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.
Webcompat Priority: --- → ?
Comment 6•6 years ago
|
||
See bug 1547409. Migrating whiteboard priority tags to program flags.
Updated•6 years ago
|
Webcompat Priority: ? → ---
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•