Closed Bug 1312975 Opened 8 years ago Closed 8 years ago

[DateTimeInput] Clear button in <input type="time"> is transparent

Categories

(Core :: Layout: Form Controls, defect)

52 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: sebo, Assigned: jessica)

References

Details

Attachments

(2 files, 1 obsolete file)

In bug 1310587 the background of the clear button of the time input was made transparent, which also made the X inside it transparent.

Though to make the button UI visibly independent of the input's background the X should be made opaque.

Sebastian
NI Visual designer for input.
Flags: needinfo?(hhuang)
Attached image clear.svg
Thanks for the advice. I've updated the clear icon, the X of the clear button is white now.
Flags: needinfo?(hhuang)
Attached patch patch, v1. (obsolete) — Splinter Review
Assignee: nobody → jjong
Comment on attachment 8804968 [details] [diff] [review]
patch, v1.

Review of attachment 8804968 [details] [diff] [review]:
-----------------------------------------------------------------

Hi Mike, sorry for bothering you again about this. I'm updating the latest icon from Visual, could you help review this? Thanks.
Attachment #8804968 - Flags: review?(mconley)
Comment on attachment 8804968 [details] [diff] [review]
patch, v1.

Review of attachment 8804968 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks jjong!

::: toolkit/themes/shared/icons/input-clear.svg
@@ +6,5 @@
> +	.st0{fill:#858585;}
> +	.st1{fill:#FFFFFF;}
> +</style>
> +<circle id="Combined-Shape" class="st0" cx="6" cy="6" r="6"/>
> +<polygon id="Close_Button_-_Normal-path" class="st1" points="9,8.1 8.1,9 6,6.9 3.9,9 3,8.1 5.1,6 3,3.9 3.9,3 6,5.1 8.1,3 9,3.9 

Trailing whitespace. Does this need to be broken up over two lines?
Attachment #8804968 - Flags: review?(mconley) → review+
Attached patch patch, v2.Splinter Review
Thanks Mike, revised the file based on this guideline:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/SVG_Guidelines
Attachment #8804968 - Attachment is obsolete: true
Attachment #8806599 - Flags: review+
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/691b2d09dd09
update reset button icon in datetime input field. r=mconley
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/691b2d09dd09
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Is the Adobe Illustrator required in Mozilla shipped code?
(In reply to Alfred Kayser from comment #10)
> Is the Adobe Illustrator required in Mozilla shipped code?

Do you mean the comment "Generator: Adobe Illustrator 19.2.1.."? I removed it based on this guideline: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/SVG_Guidelines#Editor_metadata
Yes, that's it. Thx!
Works for me. Thank you for the quick fix!

Sebastian
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: