[vr] If padding doesn't affect bounds, nor should it centering/anchoring
Previously, if a shadow had set anchoring or centering, the size of the shadow would have affected the positioning. This should not be true; centering and anchoring should proceed as if there were no shadow at all. We have the property bounds_contain_padding that captures this concept in other contexts and this CL applies that notion to centering and anchoring. Bug: 834432 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr Change-Id: I79465951c50374174710d7d76dc70d3e9cd6bdea Reviewed-on: https://chromium-review.googlesource.com/1019600 Commit-Queue: Ian Vollick <vollick@chromium.org> Reviewed-by:Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#552080}
Showing
Please register or sign in to comment