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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css21/linebox/leading-001.xht

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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head> 3 <head>
4 <title>CSS Test: Leading and half leading line heights</title> 4 <title>CSS Test: Leading and half leading line heights</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/ BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-02 --> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/ BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-02 -->
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
8 <link rel="match" href="leading-001-ref.xht" /> 8 <link rel="match" href="leading-001-ref.xht" />
9 9
10 <meta name="flags" content="ahem" /> 10 <meta name="flags" content="ahem" />
11 <meta name="assert" content="Line-height can be different from the conte nt area so space is above and below." /> 11 <meta name="assert" content="Line-height can be different from the conte nt area so space is above and below." />
12 <style type="text/css"> 12 <style type="text/css">
13 div 13 div
14 { 14 {
15 font: 100px/1em Ahem; 15 font: 100px/1em Ahem;
16 background: blue; 16 background: blue;
17 width: 200px; 17 width: 200px;
18 } 18 }
19 span 19 span
20 { 20 {
21 color: orange; 21 color: orange;
22 line-height: 200px; 22 line-height: 200px;
23 } 23 }
24 </style> 24 </style>
25 </head> 25 </head>
26 <body> 26 <body>
27 <p>Test passes if a filled orange square is vertically centered inside a bigger filled blue square.</p> 27 <p>Test passes if a filled orange square is vertically centered inside a bigger filled blue square.</p>
28 <div> 28 <div>
29 <span>X</span> 29 <span>X</span>
30 </div> 30 </div>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698