[css-d] Absolutely positioning an element in a parent with display:table-cell

2007-02-16 Thread Rafael Holt
Hello,

Today I discovered a discrepancy between Opera and Firefox regarding
display:table-cell. I tried to find some further info on the matter but
didn't get much further than something (which I can't find any more) which
said that the spec says that it's up to browser vendors whether table cells
can support position:absolute or not, and this css-d
threadhttp://archivist.incutio.com/viewlist/css-discuss/48725where
Adam Kuehn says it's a Gecko bug.

It seems to be that if the spec is really that shabby with
display:table-cell, there's a recipe for future headaches once more and more
people start using display:table and friends. Opera will faithfully
absolutely position something within a div with display:table-cell, Firefox
won't and relegates the position to be relative to the next containing block
parent (as in the link above).

What do you think the standard behaviour should be and is the spec really
this unspecific about this issue?

Regards,

Rafael
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Absolutely positioning an element in a parent with display:table-cell

2007-02-16 Thread Gunlaug Sørtun
Rafael Holt wrote:

 What do you think the standard behaviour should be and is the spec 
 really this unspecific about this issue?

The specs are pretty open-ended on many issues, so it is not always easy
to say what's a bug and what isn't.

I think Opera and Safari behave correctly on this point, and that Gecko
is buggy. My own testing lately...
http://www.gunlaug.no/tos/alien/test_07_1854.html
...reveals the same weakness in Firefox.

Generally: reliable CSS table support is not good enough across
browser-land yet - even if we leave out IE's complete lack of support.
Thus, we can not use CSS table for anything serious - yet. Pity.

regards
Georg
-- 
http://www.gunlaug.no
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/