Import the css-display-3 css tests.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-display-3 / display-contents-replaced-001.html
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>CSS Display: display:contents and replaced elements</title>
4 <link rel="author" title="Rune Lillesveen" href="mailto:rune@opera.com">
5 <link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
6 <link rel="match" href="display-contents-replaced-001-ref.html">
7 <style>
8     button, img, input, textarea {
9         display: contents;
10         border: 10px solid green
11     }
12 </style>
13 <p>You should see five form inputs, and an orange image, with green border below.</p>
14 <button>Button</button>
15 <input type="text" value="text"></input>
16 <input type="file"></input>
17 <input type="password" value="password"></input>
18 <textarea>textarea</textarea>
19 <img src="support/swatch-orange.png">