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)

x86
Windows NT
defect

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.
Confirming on 20001020 Win95. Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Layout problem, reassigning to buster.
Assignee: jst → buster
Keywords: dom2
Component: DOM Level 2 → DOM Style
Taking QA Contact on all open or unverified DOM Style bugs...
QA Contact: vidur → ian
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?
Build reassigning Buster's bugs to Marc.
Assignee: buster → attinasi
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: