The element's offset isn't relevant when comparing its dimensions with that of its overflow
The offset isn't relevant for these functions. Use of the offset was introduced
by
https://chromium.googlesource.com/chromium/src/+/10b0fc70b6e2383d439a83917541fe073b1e34e5
As far as I can tell we still don't have a test for it, so I don't think the
change is correct - makes no sense to me that the position of an object should
be considered when comparing the rect used to represent its overflow with the
rect used to represent its dimensions. It won't make any difference unless some
scaling is done on the object and then it leads to invalid differences.
BUG=
619509