Fix background-position-interpolation.html for initial/unset
The initial/unset value for background-position is 0% 0%, so any interpolation from/to that involves a calc with a percentage in it. By the calc spec, calcs with percentages in them are not resolved when getting the computed value - even if the percentage is 0%. The test shouldn't pass in Chrome after this CL, but does anyway as it resolves the expected values to not include percentages either! See https://bugzilla.mozilla.org/show_bug.cgi?id=1574913 for where we discovered the test was wrong. Bug: 1002430 Change-Id: Ibacb8f9e1745f13cd2fe92894ac0f8e67e3228fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795842Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#695277}
Showing
Please register or sign in to comment