Skip to content

Commit

Permalink
Don't use GetDoubleValue for scale property parsing
Browse files Browse the repository at this point in the history
Bug: 4094420
Change-Id: Ibb98fbe2334b0f3cb7a8376ba22335c59bb62bda
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5585017
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Commit-Queue: Daniil Sakhapov <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1309260}
  • Loading branch information
danielsakhapov authored and chromium-wpt-export-bot committed Jun 3, 2024
1 parent f860092 commit a975c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions css/css-transforms/transform-with-sign-function.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
test_math_used('rotateX(calc(sign(1em - 1px) * 2deg))', 'rotateX(2deg)', {prop:'transform'});
test_math_used('rotateY(calc(sign(1em - 1px) * 2deg))', 'rotateY(2deg)', {prop:'transform'});
test_math_used('rotateZ(calc(sign(1em - 1px) * 2deg))', 'rotateZ(2deg)', {prop:'transform'});
test_math_used('calc(sign(1em - 1px) * 2) calc(sign(1em - 1px) * 2) calc(sign(1em - 1px) * 2)', '2 2 2', {prop:'scale'});

</script>

0 comments on commit a975c0f

Please sign in to comment.