Closed
Bug 170781
Opened 23 years ago
Closed 23 years ago
check boxes do not work and do not show correctly
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla1.3beta
People
(Reporter: phil, Assigned: john)
References
()
Details
(Whiteboard: [FIX])
Attachments
(1 file)
1.91 KB,
patch
|
peterlubczynski-bugs
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
NOte I am using Mozilla 1.1
I went to this page which worked fine, except that the check boxes did not
appear to the left of the text and no amount of clicking on the text line would
check them (after clicking submit the next page tells you that you haven't
selected anything, the boxes work right with IE 5.5)
Below is the source used to make the check boxes.
<pre>
<font size=-1 face=tahoma color="#cc0000" >I am interested in: (required entry)
</font>
<font size=-1 face=tahoma >
<input align=right name=Interested_in type="checkbox" accept=" "
value="IND">1040 Individual Tax
<input align=right name=Interested_in type=checkbox value=PART>1065 Partnership
Tax
<input align=right name=Interested_in type=checkbox value=CORP>1120 Corporate
Tax
<input align=right name=Interested_in type=checkbox value=SCORP>1120S S
Corporation Tax
<input align=right name=Interested_in type=checkbox value=FID>1041 Fiduciary
Tax
<input align=right name=Interested_in type=checkbox value=ESTATE>706, 709 &
990 Programs
<input align=right name=Interested_in type=checkbox value=5500>5500 Benefit Plan
<input align=right name=Interested_in type=checkbox value=TP>Tax Planner
<input align=right name=Interested_in type=checkbox
value=Consolidated_Corporation>Consolidated Corporation
<input align=right name=Interested_in type=checkbox value=REP>Remote Entry
Processing (pay-per-return)
<input align=right name=Interested_in type=checkbox value=EF>Electronic Filing
<input align=right name=Interested_in type=checkbox value=LPP>Presentation
Products <br>
![]() |
||
Comment 1•23 years ago
|
||
The're on the right because they are floated right. You can't click them because
the text overlaps them.
jkeiser, perhaps checkboxes should just ignore the align attribute?
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Assignee | ||
Comment 2•23 years ago
|
||
Fine, I suppose for all inputs, we should in fact make align do text-align. I
see no need to ignore it specifically, and it will probably allow us not to have
an if. I am checking in the other patch you made to do align=* tonight. I will
make a patch after that.
Status: NEW → ASSIGNED
![]() |
||
Comment 3•23 years ago
|
||
<input type="image"> should be floated by align, imo...
Assignee | ||
Comment 4•23 years ago
|
||
This fixes everything except input type=file for some reason. Not sure if that
shall be a separate bug or what.
Assignee | ||
Updated•23 years ago
|
Priority: -- → P3
Whiteboard: [FIX]
Target Milestone: --- → mozilla1.3beta
Assignee | ||
Updated•23 years ago
|
Attachment #109717 -
Attachment description: Patch v0.9 → Patch
Attachment #109717 -
Flags: superreview?(bzbarsky)
Attachment #109717 -
Flags: review?(peterl)
![]() |
||
Comment 5•23 years ago
|
||
Comment on attachment 109717 [details] [diff] [review]
Patch
+ // Images treat align as "float"
Put that comment right before the call to
nsGenericHTMLElement::MapAlignAttributeInto, perhaps?
Also, the indentation looks wacky (two-space in the else, 4-space or tab in the
if).
sr=bzbarsky with those issues fixed.
Attachment #109717 -
Flags: superreview?(bzbarsky) → superreview+
Comment 6•23 years ago
|
||
Comment on attachment 109717 [details] [diff] [review]
Patch
r=peterl
Attachment #109717 -
Flags: review?(peterl) → review+
Assignee | ||
Comment 7•23 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
![]() |
||
Comment 8•22 years ago
|
||
*** Bug 176317 has been marked as a duplicate of this bug. ***
![]() |
||
Comment 9•22 years ago
|
||
*** Bug 180401 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•