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

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

Issue 1334653002: update-w3c-deps import using blink 938bf333d1bbab5c7c40f5c574f50807244c587f: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add NeedsRebaseline Created 5 years, 3 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 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 'direc tion: rtl'</title> 7 <title>CSS Writing Modes Test: 'text-align: center' - 'vertical-lr' and 'direc tion: rtl'</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 <meta content="This test checks that 'text-align: center' centers an inline bo x within a line box with respect to the line box's logical left and right sides (line-left and line-right sides)." name="assert" /> 14 <meta content="This test checks that 'text-align: center' centers an inline bo x within a line box with respect to the line box's logical left and right sides (line-left and line-right sides)." name="assert" />
15 15
16 <style type="text/css"><![CDATA[ 16 <style type="text/css"><![CDATA[
17 div 17 div
18 { 18 {
19 color: green; 19 color: green;
20 font: 6.25em/1 Ahem; /* computes to 100px/100px */ 20 font: 100px/1 Ahem; /* computes to 100px/100px */
21 height: 300px; 21 height: 300px;
22 width: 200px; 22 width: 200px;
23 } 23 }
24 24
25 div 25 div
26 { 26 {
27 background: red url("support/left-center-200x300.png"); 27 background: red url("support/left-center-200x300.png");
28 direction: rtl; 28 direction: rtl;
29 text-align: center; 29 text-align: center;
30 -webkit-writing-mode: vertical-lr; 30 -webkit-writing-mode: vertical-lr;
31 } 31 }
32 ]]></style> 32 ]]></style>
33 </head> 33 </head>
34 34
35 <body> 35 <body>
36 36
37 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p> 37 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
38 38
39 <div>C</div> 39 <div>C</div>
40 40
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698