OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
3 <title>CSS Display: display:contents in inline layout</title> | 3 <title>CSS Display: display:contents in inline layout</title> |
4 <link rel="author" title="Rune Lillesveen" href="mailto:rune@opera.com"> | 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-co
ntents"> | 5 <link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-co
ntents"> |
6 <link rel="match" href="display-contents-pass-no-red-ref.html"> | 6 <link rel="match" href="display-contents-pass-no-red-ref.html"> |
7 <style> | 7 <style> |
| 8 /* FIXME: when crbug.com/6122 is fixed we can just use the imported tests */ |
| 9 html { font-kerning: none; } |
8 #contents { | 10 #contents { |
9 display: contents; | 11 display: contents; |
10 border: 10px solid red | 12 border: 10px solid red |
11 } | 13 } |
12 </style> | 14 </style> |
13 <p>You should see the word PASS and no red below.</p> | 15 <p>You should see the word PASS and no red below.</p> |
14 <span> | 16 <span> |
15 P<div id="contents">AS</div>S | 17 P<div id="contents">AS</div>S |
16 </span> | 18 </span> |
OLD | NEW |