Assume Element.getBoundingClientRect() exists; Fixes #14093

[skip validator]