Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / content / test / gpu / page_sets / gpu_rasterization_tests.json
1 {
2   "description": "Basic test cases for GPU rasterization.",
3   "user_agent_type": "desktop",
4   "pages": [
5     {
6       "name": "GpuRasterization.CSS3DBlueBox",
7       "url": "file://../../data/gpu/pixel_css3d.html",
8       "navigate_steps": [
9         { "action": "navigate"},
10         {
11             "action": "wait",
12             "javascript": "domAutomationController._finished",
13             "timeout": 30
14         }
15       ],
16       "test_rect": [0, 0, 250, 250],
17       "expectations": [
18         {
19           "comment": "body-t",
20           "location": [5, 5],
21           "color": [255, 255, 255],
22           "tolerance": 0
23         },
24         {
25           "comment": "body-r",
26           "location": [245, 5],
27           "color": [255, 255, 255],
28           "tolerance": 0
29         },
30         {
31           "comment": "body-b",
32           "location": [245, 245],
33           "color": [255, 255, 255],
34           "tolerance": 0
35         },
36         {
37           "comment": "body-l",
38           "location": [5, 245],
39           "color": [255, 255, 255],
40           "tolerance": 0
41         },
42         {
43           "comment": "background-t",
44           "location": [30, 30],
45           "color": [0, 0, 0],
46           "tolerance": 0
47         },
48         {
49           "comment": "background-r",
50           "location": [170, 30],
51           "color": [0, 0, 0],
52           "tolerance": 0
53         },
54         {
55           "comment": "background-b",
56           "location": [170, 170],
57           "color": [0, 0, 0],
58           "tolerance": 0
59         },
60         {
61           "comment": "background-l",
62           "location": [30, 170],
63           "color": [0, 0, 0],
64           "tolerance": 0
65         },
66         {
67           "comment": "box-t",
68           "location": [70, 70],
69           "color": [0, 0, 255],
70           "tolerance": 0
71         },
72         {
73           "comment": "box-r",
74           "location": [140, 70],
75           "color": [0, 0, 255],
76           "tolerance": 0
77         },
78         {
79           "comment": "box-b",
80           "location": [140, 120],
81           "color": [0, 0, 255],
82           "tolerance": 0
83         },
84         {
85           "comment": "box-l",
86           "location": [70, 120],
87           "color": [0, 0, 255],
88           "tolerance": 0
89         }
90       ]
91     }
92   ]
93 }