On 10/07/2018 17:25, Boris Zbarsky wrote:
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=820891
Summary: In other browsers, and arguably per spec as far as cssom-view
specs things, various geometry APIs on tables should report values for
the table wrapper, not the table itself, because they are defined to
work on the "first" box generated by the element. That means that the
caption is included in the returned values and that things like
clientWidth should include the table border, modulo the various
box-sizing weirdness around tables.
Right now, we are just applying the geometry APIs to the table box
itself. The patches in the above bug change this.
The behavior of getBoundingClientRect and getClientRects is not being
changed here, though there is lack of interop around it as well; I filed
https://bugs.webkit.org/show_bug.cgi?id=187524 and
https://bugs.chromium.org/p/chromium/issues/detail?id=862205 on that.
Our new behavior aligns much better with other browsers and the spec,
but this is a general heads-up in case there is compat fallout due to
browser-sniffing or something...
Are there web-platform-tests covering this behaviour (both the part we
are changing and the part we aren't)?
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform