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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-display-3/display-contents-dynamic-inline-flex-001-none.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: CSS display: contents in inline-flex layout</title>
4 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show _bug.cgi?id=907396">
5 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:ecobos@igalia.com">
6 <link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-co ntents">
7 <link rel="match" href="display-contents-inline-flex-001-ref.html">
8 <link rel="stylesheet" href="support/acid.css">
9 <script src="support/util.js"></script>
10 <div style="color: red">
11 <div class="iflex"><div class="contents c2">
12 0
13 </div></div>
14 <div class="iflex"><div class="contents c2">
15 0
16 <div class="contents c1">1</div>
17 2
18 </div></div>
19 <div class="iflex"><div class="contents c2">
20 0
21 <div class="c1">1</div>
22 2
23 </div></div>
24 <div class="iflex c3">
25 0
26 <div class="contents c2"><div class="c1">1</div></div>
27 2
28 </div>
29 <div class="iflex c3">
30 <div class="contents c2">0</div>
31 <div class="contents c2"><div class="c1">1</div></div>
32 <div class="contents c2">2</div>
33 </div>
34 <div class="iflex c3">
35 <div class="inline">0</div>
36 <div class="contents"><div class="inline c1">1</div></div>
37 <div class="inline">2</div>
38 </div>
39 </div>
40 <script>
41 window.onload = function() {
42 eachDisplayContentsElementIn(document, window,
43 function(e) { e.style.display = 'none'; },
44 function(e) { e.style.display = ''; })
45 }
46 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698