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

If there's no big loss in clientWidth and offsetWidth always returning the same for a table, and the primary use-case for clientWidth is gathering data about where an abspos will be positioned, then I agree that Firefox's behavior is correct.

OTOH, I'm quite sad for the developer who is surprised to see that clientWidth includes borders for tables but not most other elements (see https://jsfiddle.net/dgrogan/vLfyjk8x/1/ in Firefox) -- it appears as another inconsistency (or at least another point of confusion) in the platform.

-- 
GitHub Notification of comment by davidsgrogan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4245#issuecomment-529734493 using your GitHub account

Received on Tuesday, 10 September 2019 01:53:55 UTC