Skip to content

Commit

Permalink
Bug 1722099 [wpt PR 29768] - Make FloatQuad::BoundingBox treat large …
Browse files Browse the repository at this point in the history
…finite values like infinite ones., a=testonly

Automatic update from web-platform-tests
Make FloatQuad::BoundingBox treat large finite values like infinite ones.

This changes FloatQuad::BoundingBox to treat large finite values the
same way it treats infinite values, by clamping them to the range of
int.

Fixed: 1228695
Change-Id: I0c6719bbe6ef079ccf0bf14dd54f22e17b681915
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3049556
Reviewed-by: Xianzhu Wang <[email protected]>
Commit-Queue: David Baron <[email protected]>
Cr-Commit-Position: refs/heads/master@{#905007}

--

wpt-commits: b7f78b3a2179fc78caca04ae0c2eae349453b3b1
wpt-pr: 29768
  • Loading branch information
dbaron authored and moz-wptsync-bot committed Jul 30, 2021
1 parent 73476f9 commit 039c9b0
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE HTML>
<title>CSS Test (Transforms): Transform with large scaleY()</title>
<link rel="author" title="Philip Rogers" href="mailto:[email protected]">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Google" href="http://www.google.com/">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1230937">
<link rel="help" href="https://drafts.csswg.org/css-transforms-1/#two-d-transform-functions">
<meta name="assert" content="This should not crash.">

<div style="transform: scaley(99e99);">a</div>
<div style="mix-blend-mode: saturation;">a</div>

0 comments on commit 039c9b0

Please sign in to comment.