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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-snap-size-1/snap-height-baseline-001.html

Issue 2104493003: Import csswg-test@0589ea025a684e31742740ca3b599230bcc25e5d (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update TestExpectations, delete background Created 4 years, 5 months 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 <title>CSS Snap Size: snap-height baseline</title> 2 <title>CSS Snap Size: snap-height baseline</title>
3 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com"> 3 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com">
4 <link rel="help" href="https://drafts.csswg.org/css-snap-size/#snap-height"> 4 <link rel="help" href="https://drafts.csswg.org/css-snap-size/#snap-height">
5 <link rel="match" href="reference/snap-height-baseline-001.html"> 5 <link rel="match" href="reference/snap-height-baseline-001.html">
6 <meta name="assert" content="This test asserts the snap-height property rounds u p line box height and set the baseline position."> 6 <meta name="assert" content="This test asserts the snap-height property rounds u p line box height and set the baseline position.">
7 <meta name="flags" content="ahem"> 7 <meta name="flags" content="ahem">
8 <style> 8 <style>
9 div { 9 div {
10 font-family: Ahem; 10 font-family: Ahem;
11 font-size: 40px; 11 font-size: 40px;
12 line-height: 40px; 12 line-height: 40px;
13 } 13 }
14 .test, .ref { 14 .test, .ref {
15 display: inline-block; 15 display: inline-block;
16 vertical-align: top; 16 vertical-align: top;
17 width: 5em; 17 width: 5em;
18 } 18 }
19 .test { 19 .test {
20 snap-height: 64px 50; 20 snap-height: 64px 50;
21 } 21 }
22 .ref > div { 22 .ref > div {
23 margin-bottom: 24px; 23 margin-bottom: 24px;
24 } 24 }
25 .transparent { 25 .transparent {
26 color: transparent; 26 color: transparent;
27 } 27 }
28 </style> 28 </style>
29 <p class="instructions" style="display:none">Test passes if left and right are t he same. 29 <p class="instructions">Test passes if left and right are the same.
30 <div class="ref"> 30 <div class="ref">
31 <div>XXXXX</div> 31 <div>XXXXX</div>
32 <div>XXXXX</div> 32 <div>XXXXX</div>
33 <div>XXXXX</div> 33 <div>XXXXX</div>
34 <div>XXXXX</div> 34 <div>XXXXX</div>
35 <div class="transparent">X</div> 35 <div class="transparent">X</div>
36 <div>X</div> 36 <div>X</div>
37 <div>X</div> 37 <div>X</div>
38 </div> 38 </div>
39 <div class="test"> 39 <div class="test">
40 <div>XXXXX</div> 40 <div>XXXXX</div>
41 <div>XXXXX XXXXX XXXXX</div> 41 <div>XXXXX XXXXX XXXXX</div>
42 <div><br>X<br>X</div> 42 <div><br>X<br>X</div>
43 </div> 43 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698