W3C home > Mailing lists > Public > www-style@w3.org > June 2014

Re: COL visibility: collapse HTML 4 and CSS 3

From: Gérard Talbot <www-style@gtalbot.org>
Date: Sat, 14 Jun 2014 12:49:53 -0400
To: Garrett Smith <dhtmlkitchen@gmail.com>
Cc: W3C www-style mailing list <www-style@w3.org>
Message-ID: <1170ff3cbec29bf82cdde8b50ff59a29@gtalbot.org>
Le 2014-06-14 01:20, Garrett Smith a écrit :
> How come visibility: collapse still doesn't work on col?

Hello Garrett,

It depends on the browser and browser version and it depends on tests 
involved (basic, simple, advanced, complex, edge, etc...)

> I can get this to work on Firerfox and Opera.
> http://garretts.github.io/jsclass/cascade/column-collapse.html
> I didn't test it in IE because I don't have one.
> It's css 2 and HTML 4.
> This should have been working years ago. Why doesn't this work?

Bug 8735: CSS 2.1 visibility: collapse rendered as visibility: hidden

and he gives a good explanation. Row-spanning cells and col-spanning 
cells make the implementation of visibility: collapse much more 
difficult. Also, border-collapsing makes this harder to implement.



I created this test 10 years ago
and Firefox 30 and Chrome 35 still do not pass it.

More tests:



By the way, this test


is wrong or imprecise: this row-visibility-004 test does not verify, 
does not make sure if first table row is collapse (not hidden) with 
space normally taken up by the row removed. And so, Chrome 35 appears, 
seems to be passing this test but it does not.

Received on Saturday, 14 June 2014 16:50:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:43 UTC