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

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

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

Powered by Google App Engine
This is Rietveld 408576698