Tests de conformité CSS 2

Tableaux, test 13.1

© Éditions Eyrolles 1998

test précédent display test suivant

 

 

Ce test vérifie le support des valeurs de la propriété display liées aux tableaux

.table { display : table  }
.tr { display : table-row  }
.thead { display : table-header-group  }
.tbody { display : table-row-group  }
.tfoot { display : table-footer-group  }
.col { display : table-column  }
.colgroup { display : table-column-group  }
.td { display : table-cell  }
.th { displat : table-cell ; font-weight : bold }
.caption { display : table-caption  }

 

légende du tableau
Header 1
Header 2
Footer 1
Footer 2
cellule 1.1
cellule 1.2
cellule 2.1
cellule 2.2
cellule 3.1
cellule 3.2

Ce test prend la valeur 2 si le tableau construit ci-dessus avec des DIV est formatté effectivement comme un tableau et 0 sinon.


test précédent display test suivant

 

 

 

Auteur : Daniel Glazman.