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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/text-align-vlr-013.xht

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
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 2
3 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <html xmlns="http://www.w3.org/1999/xhtml">
4 4
5 <head> 5 <head>
6 6
7 <title>CSS Writing Modes Test: 'text-align: center' - 'vertical-lr' and initia l, default 'direction'</title> 7 <title>CSS Writing Modes Test: 'text-align: center' - 'vertical-lr' and initia l, default 'direction'</title>
8 8
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB ugsSection/css21testsuite/" /> 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB ugsSection/css21testsuite/" />
10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layo ut" title="7.1 Principles of Layout in Vertical Writing Modes" /> 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layo ut" title="7.1 Principles of Layout in Vertical Writing Modes" />
11 <link rel="match" href="text-align-vlr-009-ref.xht" /> 11 <link rel="match" href="text-align-vlr-009-ref.xht" />
12 12
13 <meta content="ahem image" name="flags" /> 13 <meta content="ahem image" name="flags" />
14 14
15 <style type="text/css"><![CDATA[ 15 <style type="text/css"><![CDATA[
16 p
17 {
18 line-height: 1.25;
19 }
20
21 strong
22 {
23 line-height: 1;
24 }
25
26 div 16 div
27 { 17 {
28 color: green; 18 color: green;
29 font: 6.25em/1 Ahem; /* computes to 100px/100px */ 19 font: 6.25em/1 Ahem; /* computes to 100px/100px */
30 height: 300px; 20 height: 300px;
31 width: 200px; 21 width: 200px;
32 } 22 }
33 23
34 div 24 div
35 { 25 {
36 background: red url("support/left-center-200x300.png"); 26 background: red url("support/left-center-200x300.png");
37 text-align: center; 27 text-align: center;
38 -webkit-writing-mode: vertical-lr; 28 -webkit-writing-mode: vertical-lr;
39 } 29 }
40 ]]></style> 30 ]]></style>
41 </head> 31 </head>
42 32
43 <body> 33 <body>
44 34
45 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p> 35 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
46 36
47 <div>C</div> 37 <div>C</div>
48 38
49 </body> 39 </body>
50 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698