Skip to content

Commit

Permalink
Handle z_at_xy_zero being very large.
Browse files Browse the repository at this point in the history
When z_at_xy_zero starts off very large, subtracting z_delta from it
might still leave it larger than kInfiniteCoordinate, so we can't assume
that it is smaller.  Just forcing it to be smaller should be good enough
given how much of an edge case this is.  (We won't get sensible results
anyway, since the inaccuracy of floating point will have made them
wildly inaccurate already.)

Fixed: 1224066
Change-Id: I77b6ad4e1569664094cb2ba7c0e17135fe0cae48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3002328
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#898176}
  • Loading branch information
dbaron authored and chromium-wpt-export-bot committed Jul 2, 2021
1 parent 4282133 commit cc1a792
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions css/css-transforms/crashtests/preserve3d-scene-002.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<style>

.outer {
column-count:16384;
-webkit-mask-box-image:url('?') 10% 90% repeat;
}
button {
font:icon;
}
.inner {
border-top:solid 1000000000px;
transform-style:preserve-3d;
display:list-item;
}
table {
height:7.1px;
padding-right:4em;
transform:matrix3d(0,7.8,9,2,-3.6,3.4,6,8.8,9.5,7,7.3,5.3,6.4,3.7,8.3,8);
border-left:outset black;
font-size:120%;
}

</style>

<div class="outer"><button><div class="inner"><table border></table></div></button></div>

0 comments on commit cc1a792

Please sign in to comment.