Closed Bug 291104 Opened 20 years ago Closed 20 years ago

CSS border-collapse bug with DOCTYPE set to XHTML 1.0 Transitional

Categories

(Core :: Layout: Tables, defect)

1.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 155955

People

(Reporter: egil, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

See the code example accompanying this report.
When the border-collapse CSS parameter is set to collapse as above, the 1 pixel
border to the left is rendered outsite the actual page. If the CSS parameter is
removed (and thus changes the rendering behaviour), or if the DOCTYPE header is
removed (not a valid XHTML Transitional document anymore), the border renders
correctly inside the actual page.

Reproducible: Always

Steps to Reproduce:
1. Save the code in a separate file
2. Run it in Firefox (tested on both Mac and Windows with version 1.0.2 and 1.0.3)
3. Remove DOCTYPE header, save file and retest

Actual Results:  
Renders incorrect on first run, correctly on second run

Expected Results:  
Render the border inside the page/screen area

This code renders correctly in Safari and Internet Explorer 5.5/6
Attached file HTML test case
OS: MacOS X → All
Assignee: firefox → nobody
Component: General → Layout: Tables
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → 1.0 Branch

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

Attachment

General

Creator:
Created:
Updated:
Size: