Closed Bug 724570 Opened 14 years ago Closed 5 years ago

Vertical alignment is wrong for <select> options in <optgroup>

Categories

(Firefox for Android Graveyard :: General, defect, P3)

ARM
Android
defect

Tracking

(firefox11 affected, firefox12 affected, firefox13 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox11 --- affected
firefox12 --- affected
firefox13 --- affected

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

Attached image Screenshot of bug
See url testcase. Tap on the multi-select to open up the select helper popup. Expected result: - Checkboxes vertically aligned to each other Actual result: - Checkboxes not vertically aligned to each other This might very well be a regression from bug 715925. So I guess this url also shows the bug then: https://bug685197.bugzilla.mozilla.org/attachment.cgi?id=559176
wesj, is this a known regression as comment #0 suggestion?
Assignee: nobody → wjohnston
Priority: -- → P3
Yep. Fix shouldn't be to hard.
Summary: Checkboxes not vertically aligned when inside an optgroup → Checkboxes not vertically aligned
Assignee: wjohnston → mbrubeck
This bug is not currently visible on trunk because the code to add padding for <optgroup> children stopped working. Bug 761216 removes this code completely. I'll use this bug to restore the code while fixing the alignment problems. I think the cause of the original bug here is CheckedTextView messing with its own padding, so setPadding has some unexpected side effects. The code for this varies in different versions of Android, but see for example: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.4_r1.2/android/widget/CheckedTextView.java?av=f#148
Status: NEW → ASSIGNED
Depends on: 761216
Summary: Checkboxes not vertically aligned → Vertical alignment is wrong for <select> options in <optgroup>
Attached patch WIP hackSplinter Review
This works but is quite ugly.
Assignee: mbrubeck → nobody
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: REOPENED → RESOLVED
Closed: 8 years ago5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: