author Benjamin Smedberg <>
Mon, 30 Nov 2009 14:56:08 -0500
changeset 36123 4e0bbcc919a80d9312c7ac9764a9d684d71abcc5
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
"Merge" electrolysis-plugins-only back into the electrolysis default branch, but revert all the changes it made so that blame for the tab-specific code is still correct.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<!-- saved from url=(0063) -->
<HTML><HEAD><TITLE>Collapsing Border Test Case</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<STYLE type=text/css>TABLE {
TABLE.test1 {
	BORDER-RIGHT: red 5px solid; BORDER-TOP: red 5px solid; BORDER-LEFT: red 5px solid; BORDER-BOTTOM: red 5px solid; BORDER-COLLAPSE: collapse; border-spacing: 5px
TABLE.test1 TD {
	BORDER-RIGHT: green 4px solid; BORDER-TOP: green 4px solid; BORDER-LEFT: green 4px solid; BORDER-BOTTOM: green 4px solid
TABLE.test1 TD.cell3 {
	BORDER-RIGHT: blue 6px solid; BORDER-TOP: blue 6px solid; BORDER-LEFT: blue 6px solid; BORDER-BOTTOM: blue 6px solid
TABLE.test2 #col1 {
	BORDER-RIGHT: black 3px solid; BORDER-TOP: black 3px solid; BORDER-LEFT: black 3px solid; BORDER-BOTTOM: black 3px solid
TABLE.test2 TD {
	BORDER-RIGHT: red 1px solid; PADDING-RIGHT: 1em; BORDER-TOP: red 1px solid; PADDING-LEFT: 1em; PADDING-BOTTOM: 1em; BORDER-LEFT: red 1px solid; PADDING-TOP: 1em; BORDER-BOTTOM: red 1px solid
TABLE.test2 TD.solid-blue {
	BORDER-RIGHT: blue 5px dashed; BORDER-TOP: blue 5px dashed; BORDER-LEFT: blue 5px dashed; BORDER-BOTTOM: blue 5px dashed
TABLE.test2 TD.solid-green {
	BORDER-RIGHT: green 5px solid; BORDER-TOP: green 5px solid; BORDER-LEFT: green 5px solid; BORDER-BOTTOM: green 5px solid
TABLE.test2 {
	BORDER-RIGHT: yellow 5px solid; BORDER-TOP: yellow 5px solid; BORDER-LEFT: yellow 5px solid; BORDER-BOTTOM: yellow 5px solid; BORDER-COLLAPSE: collapse
TABLE.test3 {
TABLE.test3 TR {
	BORDER-TOP: black 2px solid
TABLE.test3 TR:unknown {
TABLE.test3 TD {
	FONT-WEIGHT: bolder; WIDTH: 3em; TEXT-ALIGN: center

<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<P>Following table should have 6px solid blue border around cell 3, red 5px 
solid border around the rest of table and green 4px solid border between cell 1 
and cell 2. The red border should override the green border around the cells 
because it's thicker and the blue border should override the red border for the 
same reason. </P>
<TABLE class=test1>
    <TD>Cell #1</TD>
    <TD>Cell #2</TD>
    <TD class=cell3>Cell #3</TD></TR></TBODY></TABLE>
<P>See <A 
href="">17.6.2 The 
collapsing border model</A> for following tests: </P>
<TABLE class=test2>
  <COL id=col1>
  <COL id=col2>
  <COL id=col3>
  <TR id=row1>
  <TR id=row2>
    <TD class=solid-blue>5</TD>
    <TD class=solid-green>6</TD></TR>
  <TR id=row3>
  <TR id=row4>
  <TR id=row5>
<P>This is an example rendering for the previous table from <A 
<BR><IMG alt="[Example rendering from]" 
src="./images/tbl-border-conflict.gif"> </P>
<P>Following table should have 2px solid black line between rows. There should 
be a total of two lines. There will be three lines if user agent doesn't support 
<CODE>tr:first-child</CODE>. </P>
<TABLE class=test3>