Closed Bug 326983 Opened 18 years ago Closed 18 years ago

table doesn't take out cols which styles visibility:collapse

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 242997

People

(Reporter: hax.sfo, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

Though some cols have style visibility:collapse, all borders of table which has style border-collapse:collpase still positioned just like visibility:normal.

sample:

<style type="text/css">
table.bug { border-collapse:collapse; }
td { border:thin solid; }
col.hidden { visibility:collapse; }
</style>

<table class="bug">
	<col />
	<col />
	<col class="hidden" />
	<tr>
		<td>1</td><td>2 a</td><td>3 bb</td><td>4 ccc</td><td>5 dddd</td>
	</tr>
	<tr>
		<td>1</td><td colspan="3">2</td><td>5</td>
	</tr>
</table>


Reproducible: Always

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