Quite a few of the implementations of GetBounds are returning GetVisualOverflowArea, which is in our parents coordinate space if we are transformed.
We should be instead using GetVisualOverflowAreaRelativeToSelf().
This caused bug 692698, and may cause other bugs. It may not be possible for all of these frame types to have transforms, but it's probably good to be consistent.
Created attachment 566709 [details] [diff] [review]
I did an audit. This should be all instances of this mistake.
there was a talos a11y mozafterpaint regression mail. Not sure if its real or this is at fault, but I backed out anyway.
Pushed to inbound again
There was a talos regression mail for a different suite (Talos Regression :( Dromaeo (DOM) decrease 2.56% on XP Mozilla-Inbound-Non-PGO) so I backed out again
My feeling is that it is probably not real, I'll try landing again later.