Closed
Bug 1429307
Opened 7 years ago
Closed 7 years ago
Incorrect radio button form and state
Categories
(Core Graveyard :: Widget: Android, defect, P3)
Tracking
(firefox58 wontfix, firefox59 wontfix, firefox60 fixed)
RESOLVED
FIXED
mozilla60
People
(Reporter: etsai, Assigned: lochang)
References
()
Details
(Whiteboard: [webcompat])
Attachments
(1 file)
STR
1. Navigate https://m.buy123.com.tw/faq/question.
2. Observe radio button form for the “Emoticons”.
3. Tap a radio button.
4. Observe behavior.
**Expected Behavior:**
Radio button has fair size and can be selected.
**Actual Behavior:**
Radio button is displayed very small, hardly visible and can't be selected.
**Note:**
1. Reproducible on Firefox 55.0.2 Release (Mobile) where the form is rectangle.
2. Not reproducible also on Chrome (Mobile) 61.0.3163.98.
3. Screenshot attached.
**Watchers:**
@softvision-sergiulogigan
@softvision-oana-arbuzov
sv; country: tw
https://webcompat.com/uploads/2017/10/4ea43eb1-1f77-4163-88f7-122c47ad28b5.jpeg

Remove paddings could see the radio button, but according to @lochang's comment, native widget should ignore that.
Comment 1•7 years ago
|
||
I guess we should not add the padding here [1]?
[1] https://searchfox.org/mozilla-central/rev/7fb999d1d39418fd331284fab909df076b967ac6/widget/android/nsNativeThemeAndroid.cpp#182
Flags: needinfo?(lochang)
Assignee | ||
Comment 2•7 years ago
|
||
(In reply to Jim Chen [:jchen] [:darchons] from comment #1)
> I guess we should not add the padding here [1]?
>
> [1]
> https://searchfox.org/mozilla-central/rev/
> 7fb999d1d39418fd331284fab909df076b967ac6/widget/android/nsNativeThemeAndroid.
> cpp#182
Yep, you are right. We should not deflate the padding and border for checkbox and radio here.
I will submit the patch and fix the bug. Besides, I think bug 1428676 has the same problem with this bug here.
Flags: needinfo?(lochang)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → lochang
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•7 years ago
|
||
Hi mats,
Could you review the patch? Thanks.
I think we should return zero padding for checkbox/radio on android like other platforms instead of deflating the padding.
Assignee | ||
Comment 5•7 years ago
|
||
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8943148 [details]
Bug 1429307 - return zero padding for checkbox/radio instead of deflating the padding and border on android.
https://reviewboard.mozilla.org/r/213458/#review220376
Attachment #8943148 -
Flags: review?(mats) → review+
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4662889e8a1a
return zero padding for checkbox/radio instead of deflating the padding and border on android. r=mats
Comment 9•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•7 years ago
|
Updated•7 years ago
|
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•