I think adding a function for Phoenix.LiveView.JS to return getBoundingClientRect parameters can be very useful because this is going to be very cheap and has a good Browser compatibility. even it is used many times in Phoenix LiveView js source and fix all the problems.
An update for css will not come soon, and if it does, it will take a long time to be supported in all browsers


















