Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/display-contents-block-001.html

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Support display: contents for elements, first-line and first-letter pseudos. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="utf-8"> 2 <meta charset="utf-8">
3 <title>CSS Display: display:contents in block layout</title> 3 <title>CSS Display: display:contents in block 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 #contents { 8 #contents {
9 display: contents; 9 display: contents;
10 border: 10px solid red 10 border: 10px solid red
11 } 11 }
12 </style> 12 </style>
13 <p>You should see the word PASS and no red below.</p> 13 <p>You should see the word PASS and no red below.</p>
14 <div> 14 <div>
15 <div id="contents"> 15 <div id="contents">
16 <div id="inner">PASS</div> 16 <div id="inner">P<span>A</span>S<span>S</span></div>
17 </div> 17 </div>
18 </div> 18 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698