[css-d] Absolute positioning within a table

2011-07-14 Thread Bobby Jack
I have a relatively-positioned table, and an absolutely-positioned div in a 
table cell within that table:

http://jsbin.com/erasur

In Firefox 4 and 5, the div is positioned relative to the document. In Chrome, 
and IE 7 (and - maybe - later) it's positioned relative to the table. Which is 
correct? If Firefox is correct, and there's special handling for positioning 
within a table, which part of the spec. governs this behaviour?

Regards,

- Bobby
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Absolute positioning within a table

2011-07-14 Thread Philippe Wittenbergh

On Jul 14, 2011, at 5:52 PM, Bobby Jack wrote:

 I have a relatively-positioned table, and an absolutely-positioned div in a 
 table cell within that table:
 
 http://jsbin.com/erasur
 
 In Firefox 4 and 5, the div is positioned relative to the document. In 
 Chrome, and IE 7 (and - maybe - later) it's positioned relative to the table.

It is a bug in Gecko (or rather a combination multiple bugs). Might get fixed 
in Firefox.next or .next.next or something in the not too distant future.

https://bugzilla.mozilla.org/show_bug.cgi?id=10209
and the many dependencies

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/