Re: [css-tables-3] Resolving a percentage against a generated table-cell

On Mon, Apr 18, 2016 at 3:11 PM, Christian Biesinger
<cbiesinger@google.com> wrote:
> In this testcase:
> https://jsfiddle.net/GazzaS/wh1hap33/2/
>
> We basically have a display: table-row containing a display: block,
> leading to an anonymous generated table-cell.
>
> How should the percentage in the display: block be resolved? Should it
> be resolved against the anonymous table-cell, which does not have a
> height (and therefore be indefinite), or should it be resolved against
> the display: table-row (and thus be definite)?
>
> This was inspired by Chrome's bug report at
> https://bugs.chromium.org/p/chromium/issues/detail?id=604396

>From what I can tell, this should be defined by
<https://drafts.csswg.org/css-tables/#table-layout-algorithm> step
3.6, but that currently links to a TODO section, so François and Greg
need to fill that in. ^_^

~TJ

Received on Monday, 18 April 2016 22:34:47 UTC