Implement ShadowView#resolveSize