Closed
Bug 1211387
Opened 10 years ago
Closed 10 years ago
Web content does not expect background-image set on <input> UA stylesheet, result strange gradient on e.g. Facebook
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(firefox44 fixed)
RESOLVED
FIXED
FxOS-S9 (16Oct)
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | fixed |
People
(Reporter: timdream, Assigned: timdream)
References
()
Details
Attachments
(2 files, 4 obsolete files)
|
71.99 KB,
image/png
|
Details | |
|
9.98 KB,
patch
|
timdream
:
review+
|
Details | Diff | Splinter Review |
I proposed we remove all background gradients from <input> since lot of sites like Facebook does not expect to reset |background-image| property on the UA style sheet.
| Assignee | ||
Comment 1•10 years ago
|
||
I believe simply remove the background first is better than waiting for bug 1157307 to be fixed.
See Also: → 1157307
| Assignee | ||
Comment 2•10 years ago
|
||
FWIW, Fennec removed the gradients a long time ago in bug 763671.
https://dxr.mozilla.org/mozilla-central/source/mobile/android/themes/core/content.css#114
| Assignee | ||
Comment 3•10 years ago
|
||
I did not start fixing the reftest because I figured it's probably better to wait for one more persons acknowledgement on this issue on the fact that I am not bikeshedding.
I did not completely map the fixes done on Fennec in bug 763671 because the button style was replaced with an SVG file -- I don't know if we want to do that in B2G (or "Mozilla Foxfood") too.
Sorry for the unrelated reference too bug 1034832 comment 37.
Attachment #8669585 -
Flags: review?(fabrice)
Attachment #8669585 -
Flags: review?(21)
Comment 4•10 years ago
|
||
Comment on attachment 8669585 [details] [diff] [review]
bug1211387.patch
Review of attachment 8669585 [details] [diff] [review]:
-----------------------------------------------------------------
I'm fine with doing that if that doesn't break pages that use default unstyled controls. Eg. do we still display a simple <button> properly?
Attachment #8669585 -
Flags: review?(fabrice)
Attachment #8669585 -
Flags: review?(21)
Attachment #8669585 -
Flags: review+
| Assignee | ||
Comment 6•10 years ago
|
||
Try to find failing reftests
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5ae9a448d8ed
| Assignee | ||
Comment 7•10 years ago
|
||
I don't really know why bug 763671 set the background color of buttons as white but yes that's not going to work for B2G. There is the updated style in which colors are taken as the value at 50% position of all the gradients.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=77ed21439f09
Attachment #8670091 -
Flags: review+
| Assignee | ||
Updated•10 years ago
|
Attachment #8669585 -
Attachment is obsolete: true
| Assignee | ||
Comment 8•10 years ago
|
||
Fixing all reftests and remove the resulting unexpected pass
https://treeherder.mozilla.org/#/jobs?repo=try&revision=48fd35d228dd
Attachment #8670091 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•10 years ago
|
||
Revert the changes on <button> and <select size=1> etc to retain the accordance.
The disabled selectors duplicates but I don't want to fix them in this bug because the patch should not changed too much with the r+'d one.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f41cc81994e0
Attachment #8670131 -
Attachment is obsolete: true
Attachment #8670162 -
Flags: review+
| Assignee | ||
Comment 10•10 years ago
|
||
Restore reftests on buttons.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c421fdc7663a
Attachment #8670162 -
Attachment is obsolete: true
Attachment #8670260 -
Flags: review+
Comment 12•10 years ago
|
||
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S9 (16Oct)
You need to log in
before you can comment on or make changes to this bug.
Description
•