1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
content / test / data / gpu / pixel_precision_rounded_corner.html [blame]
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="initial-scale=1">
<title>Rounded corner Float Precision test</title>
<style>
#circle {
transform-origin: 0 0;
transform: scale(5);
width: 300px;
height: 300px;
border-radius: 50%;
overflow: hidden;
}
#rotate {
width: 400px;
height: 400px;
background: lightblue;
will-change: transform;
}
</style>
<script>
function finish() {
domAutomationController.send("SUCCESS");
}
window.requestAnimationFrame(finish);
</script>
</head>
<body>
<div id="circle">
<div id="rotate">
</div>
</div>
</body>
</html>