Closed Bug 302228 Opened 19 years ago Closed 19 years ago

DOCTYPE XHTML causes additional vertical spacing inserted in table rows

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 22274

People

(Reporter: edefinis, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

The URL http://www.hinkleyauto.com/pdfs/pdf_slices.html contains DOCTYPES which
have been commented out.  When DOCTYPE XHTML is enabled, the mozilla browsers
(both Firefox and Netscape) insert additional spacing between each row of the
table being displayed.  DOCTYPE  HTML 4.01 appears to be OK.

Reproducible: Always

Steps to Reproduce:
1.Visit these three sites:

a)  http://www.hinkleyauto.com/pdfs/pdf_slices.html - No DOCTYPE - Works correctly
b)  http://www.hinkleyauto.com/pdfs/pdf_slices_HTML_41.html - DOCTYPE HTML 4.01
- Works correctly
c)  http://www.hinkleyauto.com/pdfs/pdf_slices_XHTML_11.html - DOCTYPE XHTML 1.1
- Image is fragmented.  NOT GOOD!  
3.

Actual Results:  
The first two sites identified above work correctly.  The third one displays a
fragmented image due to the extra spacing inserted between the rows of the table
containing slices of the image.

Expected Results:  
Extra spaces should not be inserted between table rows unless requested via
valid HTML script.
Please see 
http://developer.mozilla.org/en/docs/Images%2C_Tables%2C_and_Mysterious_Gaps

*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.