summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-overlap-expected.txt
blob: e7e21ff08ede27d9c255201203f8e7f5077ab843 (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
25
26
27
28
29
Even though we can opt-out of fixed-position compositing for unscrollable fixed-position containers, we still need to composite fixed-position layers that need compositing for other reasons such as overlap.

{
  "bounds": [800, 4024],
  "children": [
    {
      "bounds": [800, 4024],
      "contentsOpaque": true,
      "drawsContent": true,
      "children": [
        {
          "position": [10, 100],
          "bounds": [100, 100],
          "contentsOpaque": true,
          "drawsContent": true,
          "backgroundColor": "#FF0000"
        },
        {
          "position": [10, 100],
          "bounds": [100, 100],
          "contentsOpaque": true,
          "drawsContent": true,
          "backgroundColor": "#00FF00"
        }
      ]
    }
  ]
}