[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / animations / cross-fade-webkit-mask-box-image.html
1 <html>
2 <head>
3   <style>
4     #box {
5         position: absolute;
6         left: 100px;
7         top: 100px;
8         height: 200px;
9         width: 200px;
10         background-color: red;
11         -webkit-animation: anim 1s linear infinite;
12     }
13     #boxStatic {
14         position: absolute;
15         left: 100px;
16         top: 300px;
17         height: 200px;
18         width: 200px;
19         background-color: red;
20         -webkit-mask-box-image: -webkit-cross-fade(url(resources/stripes-100.png), url(resources/green-100.png), 25%) 50 stretch;
21     }
22     @-webkit-keyframes anim {
23         from { -webkit-mask-box-image: url(resources/stripes-100.png) 50 stretch; }
24         to   { -webkit-mask-box-image: url(resources/green-100.png) 50 stretch; }
25     }
26   </style>
27   <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
28   <script type="text/javascript" charset="utf-8">
29     const expectedValues = [
30       // [animation-name, time, element-id, property, expected-value, tolerance]
31       ["anim", 2.25, "box", "webkitMaskBoxImage", 0.25, 0.05],
32       ["anim", 2.25, ["box", "static:boxStatic"], "webkitMaskBoxImage", 0.25, 0.05]
33     ];
34
35     var doPixelTest = true;
36     var disablePauseAPI = false;
37     runAnimationTest(expectedValues, null, undefined, disablePauseAPI, doPixelTest);
38   </script>
39 </head>
40 <body>
41 <img id="box" src="resources/green-100.png"/>
42 <img id="boxStatic" src="resources/green-100.png"/>
43 <div id="result"></div>
44 </body>
45 </html>