Specs: make sure all layout/paint/hitTest APIs are relative to the right coordinate space

Review URL: https://codereview.chromium.org/725203007