зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1718909 [wpt PR 29563] - Keep points on edges crossing w=0 under kInfiniteCoordinate., a=testonly
Automatic update from web-platform-tests Keep points on edges crossing w=0 under kInfiniteCoordinate. This adds half of std::numeric_limits<float>::epsilon() (FLT_EPSILON), which is the smallest representable difference for a float at 1.0, so that the code to shift t away from the point where w=0 will move it enough so that the result is less than kInfiniteCoordinate. Bug: 1224066 Change-Id: I7df134c277f280987405d0d0c2d47de15d3ef55d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3002270 Reviewed-by: Robert Flack <flackr@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/master@{#898172} -- wpt-commits: 428213381f43418226b8df335710c8e8c74d10ee wpt-pr: 29563
This commit is contained in:
Родитель
0450a6d901
Коммит
af774bec0a
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE HTML>
|
||||
<title>CSS Test (Transforms): Very large values in matrix3d()</title>
|
||||
<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=1224066">
|
||||
<meta name="assert" content="This should not crash.">
|
||||
<style>
|
||||
|
||||
.outer {
|
||||
column-count:16384;
|
||||
-webkit-mask-box-image: url('?') 10% 90% repeat;
|
||||
}
|
||||
|
||||
.middle {
|
||||
-webkit-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: medium black solid;
|
||||
}
|
||||
|
||||
tbody {
|
||||
font:icon;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="outer"><div class="middle"><table>
|
Загрузка…
Ссылка в новой задаче