Closed
Bug 52532
Opened 25 years ago
Closed 24 years ago
inline-style for INPUT-Element not rendered correctly
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: flamesgohere, Assigned: attinasi)
Details
(Keywords: dom2)
Attachments
(2 files)
If applying an inline-style via style="...", Mozilla M17 renders the INPUT-
Element wrong. If position=absolute, M17 will render the object with width and
height and then applies a border outside that area, so that the rendered
Element is bigger then specified.
example:
<HTML>
<HEAD>
<TITLE>INPUT</TITLE>
</HEAD>
<BODY>
<INPUT type="text" style="position:absolute; height:20px; width:60px; left:
100px; top: 100px; background-color:#00ff00" >
<DIV style="position:absolute; height:20px; width:60px; left: 160px; top:
100px; background-color:#ff00ff" ></DIV>
</BODY>
</HTML>
The INPUT and the DIV should have the same height and width, with M17, the
INPUT is bigger than the DIV.
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
Confirming on 20001020 Win95.
Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•24 years ago
|
Component: DOM Level 2 → DOM Style
Comment 4•24 years ago
|
||
Taking QA Contact on all open or unverified DOM Style bugs...
QA Contact: vidur → ian
![]() |
||
Comment 5•24 years ago
|
||
two things here:
1) The "height" and "width" properties do not include borders in the dimensions
2) Nevertheless, the testcase shows the two boxes being the same height. So is
this bug still present, or is this worksforme?
Comment 7•24 years ago
|
||
Looking at the testcase, as Boris indicates, the input element width and height
render correctly using hte build from 2001101203 on win98.
Marking as fixed
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 8•24 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•