Re: COL visibility: collapse HTML 4 and CSS 3

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
https://bugs.webkit.org/show_bug.cgi?id=8735#c7

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.

https://bugzilla.mozilla.org/show_bug.cgi?id=242997

https://bugzilla.mozilla.org/show_bug.cgi?id=242998

I created this test 10 years ago
https://bug242253.bugzilla.mozilla.org/attachment.cgi?id=147933
and Firefox 30 and Chrome 35 still do not pass it.

More tests:

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/chapter-17.htm#s17.5.5

-------------

By the way, this test

http://test.csswg.org/suites/css2.1/latest/html4/row-visibility-004.htm

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.

Gérard

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