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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css21/linebox/vertical-align-applies-to-009.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: Vertical-align applied to elements with 'display' set t o 'block'</title> 4 <title>CSS Test: Vertical-align applied to elements with 'display' set t o 'block'</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-03-03 --> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/ BrowserBugsSection/css21testsuite/" /> <!-- 2012-03-03 -->
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-v ertical-align" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-v ertical-align" />
8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" /> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
9 <link rel="match" href="vertical-align-applies-to-001-ref.xht" /> 9 <link rel="match" href="vertical-align-applies-to-001-ref.xht" />
10 10
11 <meta name="flags" content="ahem" /> 11 <meta name="flags" content="ahem" />
12 <meta name="assert" content="The 'vertical-align' property does not appl y to elements with 'display' set to 'block'." /> 12 <meta name="assert" content="The 'vertical-align' property does not appl y to elements with 'display' set to 'block'." />
13 <style type="text/css"> 13 <style type="text/css">
14 span 14 span
15 { 15 {
16 background: orange; 16 background: orange;
17 color: blue; 17 color: blue;
18 display: block; 18 display: block;
19 font: 20px/1em Ahem; 19 font: 20px/1em Ahem;
20 height: 1in; 20 height: 1in;
21 vertical-align: bottom; 21 vertical-align: bottom;
22 width: 1in; 22 width: 1in;
23 } 23 }
24 </style> 24 </style>
25 </head> 25 </head>
26 <body> 26 <body>
27 <p>Test passes if the blue square is in the <strong>upper-left corner</s trong> of a bigger orange square.</p> 27 <p>Test passes if the blue square is in the <strong>upper-left corner</s trong> of a bigger orange 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