W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [cssom] Table row resolved width and height. (#4444)

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Thu, 31 Oct 2019 15:52:31 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-548442154-1572537149-sysbot+gh@w3.org>
> > While EdgeHTML's behavior makes the most sense in the end, it's also not spec-compatible right now because height should return its used value, not its computed value. The reason Edge reports its computed value is that the row doesn't have a box, so it behaves similarly to a display:none element.
> 
> Why is it not spec-compatible? https://drafts.csswg.org/cssom/#resolved-values gates the used value condition to "the property applies to the element". That is of course very handwavy, see #3678, but in this case it seems that could apply and the value returned would be the computed one (that is, `auto`).

The height property does apply on table-rows.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4444#issuecomment-548442154 using your GitHub account
Received on Thursday, 31 October 2019 15:52:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:55 UTC