Closed Bug 365478 Opened 18 years ago Closed 9 years ago

[reflow branch] Border-collapse table has become higher/wider

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

This regressed when the reflow branch landed.
See upcoming testcase, the first table on that testcase used to look like the second table on the testcase, but that is not the case anymore after the reflow branch landed.
The testcase is in quirks mode, in standards mode, nothing changed, the first table already was higher/wider than the second table.
Attached file testcase (quriks mode)
It looks like this works for me, although I think there are other bugs on reexamining what the correct behavior is.
Ok, the original bug is gone now.
But I see a difference in the standards mode testcase for the first table.
Here are the results:

For FF2.0.0.6:
#a.offsetWidth: 300px - #a.offsetHeight: 70px
#a.clientWidth: 240px - #a.clientHeight: 10px
#a.scrollWidth: 300px - #a.scrollHeight: 70px

#a td.offsetWidth: 300px - #a td.offsetHeight: 70px
#a td.clientWidth: 300px - #a td.clientHeight: 70px
#a td.scrollWidth: 300px - #a td.scrollHeight: 70px

For current trunk build:
#a.offsetWidth: 300px - #a.offsetHeight: 100px
#a.clientWidth: 300px - #a.clientHeight: 100px
#a.scrollWidth: 300px - #a.scrollHeight: 100px

#a td.offsetWidth: 300px - #a td.offsetHeight: 100px
#a td.clientWidth: 270px - #a td.clientHeight: 70px
#a td.scrollWidth: 300px - #a td.scrollHeight: 100px
I don't see any differences anymore between quirks and standards mode as well as between the first and second table.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: