Closed
Bug 86811
Opened 23 years ago
Closed 23 years ago
Label text overlaps input form element when in table cell
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: csherlock, Assigned: karnaze)
References
Details
(Whiteboard: [bae:20011030])
Attachments
(1 file)
(deleted),
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.1) Gecko/20010607
BuildID: 2001060703
When in a table cell, any text that is enclosed between <label> tags overlaps
the input form element in the cell next to it.
Reproducible: Always
Steps to Reproduce:
Use the following HTML example:
<html>
<head>
<title>Test page</title>
</head>
<body>
<form action="/usr/bin/donothing.pl">
<table width="350">
<tr>
<td align="right">Username:</td>
<td><input type="text" name="user"></td>
</tr>
<tr>
<td align="right"><label>Password:</label></td>
<td><input type="password" name="pass"></td>
</tr>
</table>
</form>
</body>
</html>
Actual Results: I'm fairly certain the text in the label should not overlap the
input form element in the next cell.
Expected Results: Not entirely sure about this, either the label text shouldn't
be displayed if it isn't valid HTML or it should be displayed correctly in the
cell.
If you put a standard <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "DTD/xhtml1-transitional.dtd"> then it doesn't display the
label text at all.
Comment 1•23 years ago
|
||
Not a DOM problem, over to Layout.
Assignee: jst → karnaze
Component: DOM HTML → Layout
QA Contact: stummala → petersen
I can confirm this on Linux 2001061821 nightly.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
URL: http://N/A
Comment 6•23 years ago
|
||
Looks fine in trunk build 2001100903 on Win2k... might this have been a lost
duplicate of bug 85306 ("use of label within th with text-align: right style
doesn't render correctly")?
Comment 8•23 years ago
|
||
confirming the WFM, used trunk build from 20011030 on win98
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Updated•23 years ago
|
Whiteboard: [bae:20011030]
You need to log in
before you can comment on or make changes to this bug.
Description
•