input textbox 4 pixels too long if used inside a document with a doctype

RESOLVED INVALID

Status

()

Firefox
General
--
trivial
RESOLVED INVALID
15 years ago
12 years ago

People

(Reporter: Haukur Már Böðvarsson, Assigned: Blake Ross)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

If you have a textbox specified in the html code and the page itself has a
doctype declared then the textbox becomes 4pixels wider than if you have no
doctype declaration.

example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

.....
<input type="text" name="txtName" style="width:120px;" />

Reproducible: Always

Steps to Reproduce:
1.Switch doctypes
2.Remove doctype

Actual Results:  
1: Switched doctypes (html 4.0 and xhtml 1.0) =  no change

2: Remove the doctype = renders the textbox correct.

Expected Results:  
Render the textbox correctly.

Comment 1

15 years ago
can you reproduce this with a recent Mozilla build? Bboth Mozilla and Firebird
share the same rendering engine..

Comment 2

15 years ago
I think this bug is probably INVALID, this is a deliberate difference in
rendering between quirks and standards mode, please see Bug 184478 for more details.

Comment 3

14 years ago
I'm resolving this bug as INVALID based on the information in Bug 184478, please
reopen if you disagree.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.