Add case to serialize kRotateAroundOrigin transform
Fix DCHECK failure which occurred when attempting to serialize such an operation, which can occur due to the SVG transform presentation attribute and is unreperesentable in CSS. As there is currently no consensus on how to handle this case and there are no relatice lengths in such operations, I am computing them as matrix() values. See the CSSWG issue at https://github.com/w3c/csswg-drafts/issues/5011 to determine the correct way to handle this. I have proposed the approach used here. Add regression test (crashes without patch). Change-Id: Ia116ead6c451cafc6fb222be3bb52362123bae3d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2163758Reviewed-by:Rune Lillesveen <futhark@chromium.org> Reviewed-by:
Kevin Ellis <kevers@chromium.org> Commit-Queue: George Steel <gtsteel@chromium.org> Cr-Commit-Position: refs/heads/master@{#763427}
Showing
Please register or sign in to comment