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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/display-contents-first-line-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 and ::first-line</title> 3 <title>CSS Display: display:contents and ::first-line</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="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo" > 6 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo" >
7 <link rel="match" href="display-contents-pass-green-no-red-ref.html"> 7 <link rel="match" href="display-contents-pass-green-no-red-ref.html">
8 <style> 8 <style>
9 #contents { display: contents } 9 #contents { display: contents }
10 #contents::first-line { background-color: red } 10 #contents::first-line { background-color: red }
11 #container::first-line { color: green } 11 #container::first-line { color: green }
12 </style> 12 </style>
13 <p>You should see the word PASS in green and no red below.</p> 13 <p>You should see the word PASS in green and no red below.</p>
14 <div id="container"> 14 <div id="container">
15 <div id="contents">PASS</div> 15 <div id="contents"><span>P</span>ASS</div>
16 </div> 16 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698