W3C home > Mailing lists > Public > www-style@w3.org > April 2016

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 18 Apr 2016 15:33:58 -0700
Message-ID: <CAAWBYDDG0UGdo7QTTU-Utj+DHYEJYnAKOzG+V3PXKFDX9VkwkA@mail.gmail.com>
To: Christian Biesinger <cbiesinger@google.com>
Cc: www-style list <www-style@w3.org>, David Grogan <dgrogan@google.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC