Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / dialog / top-layer-display-none-expected.html
blob1880668cc3b9eecb819b897a6ee579e800640e5b
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="resources/dialog.css">
5 <style>
6 .pseudodialog {
7 height: 150px;
8 width: 150px;
10 </style>
11 </head>
12 <body>
13 This tests that a top layer element is not rendered if it, or an ancestor, has display: none.
14 It passes if you see a green rectangle stacked on top of a blue rectangle, and see no red rectangles.
16 <div class="pseudodialog" style="top: 50px; background-color: blue"></div>
17 <div class="pseudodialog" style="top: 100px; left: 50px; background-color: green"></div>
18 </body>
19 </html>