blob: ba9567478f30adb5628245de3409da191a9ae015 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html>
<head>
<script src="resources/text-based-repaint.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function() {
runRepaintTest();
};
function repaintTest() {
document.getElementById('target').style.visibility = 'visible';
}
</script>
</head>
<body>
<div id="target"
style="will-change: transform;
visibility:hidden;
position: absolute;
top: 200px; left: 200px;
width: 200px; height: 200px;
background-color: redl "></div>
</body>
</html>
|