Bug 1874684 - Part 37: Fix unified compilation. r=allstarschh
[gecko.git] / layout / reftests / reftest-sanity / reftest-assigned-layer-pass.html
blob19dc004d815eaebbded090869361ec7407e7de44
1 <!DOCTYPE html>
2 <html lang="en">
3 <meta charset="utf-8">
4 <title>Both divs should be part of opaque layers.</title>
6 <style>
8 .content {
9 box-sizing: border-box;
10 width: 200px;
11 height: 200px;
12 border: 1px solid black;
13 margin: 10px;
16 .relative {
17 position: relative;
20 .fixed {
21 position: fixed;
22 top: 140px;
23 left: 140px;
26 .low-z {
27 z-index: 1;
30 .high-z {
31 z-index: 2;
34 .opaque-background {
35 background-color: white;
38 body {
39 height: 4000px;
42 </style>
44 <div class="content relative low-z" reftest-assigned-layer="page-background"></div>
46 <div class="fixed opaque-background content high-z" reftest-assigned-layer="fixed-layer"></div>
48 <div class="content relative low-z" reftest-assigned-layer="page-background"></div>