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

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

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Allow text as child of the LayoutView, since it can happen with display: contents Created 4 years 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
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>CSS Test: display: contents inside a flex container</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-co ntents">
6 <link rel="match" href="display-contents-flex-001-ref.html">
7 <style>
8 .flex {
9 display: flex;
10 }
11 .inline {
12 display: inline;
13 }
14 .contents {
15 display: contents;
16 }
17 </style>
18 <p>Test passes if you see the word "PASS", with a "0" under the first "S"</p>
19 <div class="flex">
20 P
21 <div class="contents">
22 <div>A</div>
23 </div>
24 <div class="contents">
25 <div class="inline">S<div>0</div></div>
26 </div>
27 <div class="contents">
28 S
29 </div>
30 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698