[css-typed-om] Fix crash involving negative length perspectives.
We were crashing because converting CSSPerspective(-1px) to a CSSValue returns nullptr. The correct behaviour should be to convert it as CSSPerspective(calc(-1px)). Bug: 812620 Change-Id: I5ee70d4fb5eed064bcdad67391c3eb84531144d6 Reviewed-on: https://chromium-review.googlesource.com/924742 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by:nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#537690}
Showing
Please register or sign in to comment