hixie: Make hidden='' work for table-related elements. (whatwg r5197)

hixie: Make hidden='' work for table-related elements. (whatwg r5197)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4133&r2=1.4134&f=h
http://html5.org/tools/web-apps-tracker?from=5196&to=5197

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4133
retrieving revision 1.4134
diff -u -d -r1.4133 -r1.4134
--- Overview.html 23 Jul 2010 23:15:20 -0000 1.4133
+++ Overview.html 23 Jul 2010 23:21:06 -0000 1.4134
@@ -60221,13 +60221,17 @@
 
 table { display: table; }
 caption { display: table-caption; }
-colgroup { display: table-column-group; }
-col { display: table-column; }
-thead { display: table-header-group; }
-tbody { display: table-row-group; }
-tfoot { display: table-footer-group; }
-tr { display: table-row; }
-td, th { display: table-cell; }
+colgroup, colgroup[hidden] { display: table-column-group; }
+col, col[hidden] { display: table-column; }
+thead, thead[hidden] { display: table-header-group; }
+tbody, tbody[hidden] { display: table-row-group; }
+tfoot, tfoot[hidden] { display: table-footer-group; }
+tr, tr[hidden] { display: table-row; }
+td, th, td[hidden], th[hidden] { display: table-cell; }
+colgroup[hidden], col[hidden], thead[hidden], tbody[hidden],
+tfoot[hidden], tr[hidden], td[hidden], th[hidden] {
+  visibility: collapse;
+}
 
 li { display: list-item; }

Received on Friday, 23 July 2010 23:21:49 UTC