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

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

From: Christian Biesinger <cbiesinger@google.com>
Date: Mon, 18 Apr 2016 18:11:08 -0400
Message-ID: <CAPTJ0XEkZ1W6V4N1upf+rAOj1opjApXNhW3yH7Wq_r9xioQXzQ@mail.gmail.com>
To: www-style list <www-style@w3.org>
Cc: David Grogan <dgrogan@google.com>
Hi there!

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

Thanks!
-Christian
Received on Monday, 18 April 2016 22:11:57 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:58 UTC