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

Side by Side Diff: third_party/WebKit/LayoutTests/external/csswg-test/css-rhythm-1/line-height-step-boundary-001.html

Issue 2707203005: Import csswg-test@ed79f8614481e97d61f17f41b65448c211d27c6f (Closed)
Patch Set: Created 3 years, 9 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
(Empty)
1 <!DOCTYPE html>
2 <title>CSS Rhythmic Sizing: line-height-step boundary test</title>
3 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
4 <link rel="help" href="https://drafts.csswg.org/css-rhythm-1/#line-height-step">
5 <link rel="match" href="reference/line-height-step-boundary-001.html">
6 <meta name="assert" content="This test asserts the line-height-step property rou nds up line box height.">
7 <meta name="flags" content="ahem">
8 <style>
9 div {
10 font-family: Ahem;
11 font-size: 30px;
12 }
13 .test, .ref {
14 display: inline-block;
15 vertical-align: top;
16 width: 5em;
17 }
18 .test {
19 line-height-step: 40px;
20 }
21 </style>
22 <p class="instructions">Test passes if left and right are the same.
23 <div class="ref">
24 <div style="line-height: 40px">XXXXX</div>
25 <div style="line-height: 40px">XXXXX</div>
26 <div style="line-height: 80px">XXXXX</div>
27 <div style="line-height: 80px">XXXXX</div>
28 <div style="line-height: 80px">XXXXX</div>
29 <div style="line-height: 120px">XXXXX</div>
30 </div>
31 <div class="test">
32 <div style="line-height: 39px">XXXXX</div>
33 <div style="line-height: 40px">XXXXX</div>
34 <div style="line-height: 41px">XXXXX</div>
35 <div style="line-height: 79px">XXXXX</div>
36 <div style="line-height: 80px">XXXXX</div>
37 <div style="line-height: 81px">XXXXX</div>
38 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698