Import the css-display-3 css tests.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-display-3 / display-contents-oof-002.html
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>CSS Display: display:contents works on out-of-flow positioned elements</title>
4 <link rel="author" title="Emilio Cobos Ãlvarez" href="mailto:ecobos@igalia.com">
5 <link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
6 <link rel="match" href="display-contents-pass-no-red-ref.html">
7 <style>
8   div {
9     display: contents;
10     position: fixed;
11     right: 0;
12     background: red;
13   }
14 </style>
15 <p>You should see the word PASS and no red below.</p>
16 <div>P<span>A</span>S<span>S</span></div>