Closed
Bug 264170
Opened 20 years ago
Closed 20 years ago
spurious extra vertical space at beginning of page when DTD is for xhtml
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: cj10, Assigned: bugzilla)
References
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1 I will attach to samml pages which differ only on the content of the <!DOCTYPE ... > directive. One is HTML 2.0 and the other is XHTML 1.0 Transitional. When displayed by Firefox , the pages differ in the amount of white space above the first heading. The XHTML version of the page displays more white space than I would expect. Is this a bug? IE, displays the two pages identically, without the extra space. Reproducible: Always Steps to Reproduce: 1. 2. 3.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Summary: spurious extra vertica space at beginning of page when DTD is for xhtml → spurious extra vertical space at beginning of page when DTD is for xhtml
| Reporter | ||
Comment 3•20 years ago
|
||
*** Bug 264171 has been marked as a duplicate of this bug. ***
Comment 4•20 years ago
|
||
See: http://lxr.mozilla.org/seamonkey/source/layout/html/document/src/quirk.css#124 In quirks mode body > h1:-moz-first-node get margin-top:0; This is done to be compatible with IE in quirks mode. See also: http://www.mozilla.org/docs/web-developer/quirks/
| Reporter | ||
Comment 5•20 years ago
|
||
(In reply to comment #4) Thank you very much. I understand now.
Comment 6•20 years ago
|
||
Ok, marking INVALID then.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•