Closed
Bug 186325
Opened 22 years ago
Closed 22 years ago
Breadth differs by <INPUT TYPE="text" SIZE="x"> and <INPUT SIZE="x" TYPE="text">.
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
People
(Reporter: nivoside, Assigned: peterv)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.3a) Gecko/20021220 Phoenix/0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20021220 A size element will be disregarded when referred to as <INPUT SIZE="x" TYPE="text">. It seems that width is always interpreted as 20. Being ignored if the turn of an element becomes reverse is troubled. It should be interpreted exactly. A problem occurs after 2002-12-17-08-trunk. 2002-12-17-04-trunk has no problem. Reproducible: Always Steps to Reproduce: A page with the following HTML is opened: <HTML><BODY> <FORM><INPUT TYPE="text" SIZE="32"></FORM> <FORM><INPUT SIZE="32" TYPE="text"></FORM> </BODY></HTML> Actual Results: The width of two input field differs. Expected Results: The width of the two input fields is the same.
Well, I'm seeing this problem on Win98 and MacOS9. Attaching Testcase.
Comment 4•22 years ago
|
||
Is this only a problem with the themed controls on Windows?
Comment 5•22 years ago
|
||
> A problem occurs after 2002-12-17-08-trunk.
> 2002-12-17-04-trunk has no problem.
peterv, this is when your DOM2 HTML stuff landed... Could the changes to
GetSize/SetSize be the problem here?
Assignee | ||
Comment 6•22 years ago
|
||
Ah, hmm. That could be, yes. The problem is that the unit for the size is dependent on the type of the input. My code looks at the type when the size attribute's value gets set, but we probably don't know the type (yet). I'm away on holiday for two weeks, I'll try to look at it but if anyone wants to take this, please do.
Comment 7•22 years ago
|
||
well, confirming and to peter for now...
Assignee: form → peterv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.3b?
OS: Windows XP → All
Hardware: PC → All
Comment 8•22 years ago
|
||
*** Bug 187494 has been marked as a duplicate of this bug. ***
Although the problem had occurred also by Phoenix before, it is repaired temporarily? Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.3a) Gecko/20030115 Phoenix/0.5
Comment 10•22 years ago
|
||
When viewing the testcase in attachment 109864 [details], I see the differences of sizes under Gecko/20030112 Phoenix/0.5, XP Pro SP1. The testcase in attachment 109864 [details] WFM under Mozilla 1.3b 2003011713, XP Pro SP1.
Assignee | ||
Comment 11•22 years ago
|
||
This looks fixed to me, probably by the fix for bug 188872.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•22 years ago
|
Flags: blocking1.3b?
You need to log in
before you can comment on or make changes to this bug.
Description
•