The following LayoutBox methods return geometries in physical coordinates without "Physical" in their names, unlike most of the other methods without "Physical" and "Logical" in their names returning "physical coordinates in flipped block-flow direction":
PaddingBoxRect()
ContentBoxRect()
BackgroundRect()
At least in BackgroundIsKnownToBeOpaqueInRect() and its callers, physical coordinates and normal coordinates seem to be mixed together without necessary flipping.
I think we should
1. Prefix "Physical" for them;
2. Check each of their callers to see if the caller actually want the normal coordinates;
3. Add the version of normal coordinates if needed and change the callers accordingly.
Comment 1 by bugdroid1@chromium.org
, Aug 24