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

Re: [csswg-drafts] [cssom-view] [css-tables] should table.clientWidth include borders? (#4245)

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Aug 2019 08:56:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-525650217-1566982582-sysbot+gh@w3.org>
@bzbarsky Chrome behavior is that you take the wrapper box, then deduct its border thickness (which should be 0 but is actually the same as the table grid box border, I guess they just don't change their internal style representation and ignore the border on table wrapper boxes). It's indeed wrong, and this is also what they use when the table wrapper box is the containing block of an abspos, which makes this even more of a problem.

Still pretty sure the fix is Chrome's to make here. But I don't disagree the specs could benefit from some clarifications.

GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4245#issuecomment-525650217 using your GitHub account
Received on Wednesday, 28 August 2019 08:56:25 UTC

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