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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/central-baseline-alignment-003.xht

Issue 1394423002: update-w3c-deps import using blink d9b074fe31794b3500d8e7ccf4d9ab7b15a7e86d: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: central baseline-alignment of text with 'text-o rientation: upright' (vertical-lr)</title> 7 <title>CSS Writing Modes Test: central baseline-alignment of text with 'text-o rientation: upright' (vertical-lr)</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/#text-baseline s" title="4.2 Text Baselines" /> 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-baseline s" title="4.2 Text Baselines" />
11 <link rel="match" href="central-baseline-alignment-002-ref.xht" /> 11 <link rel="match" href="central-baseline-alignment-002-ref.xht" />
12 12
13 <meta content="This test checks that the central baseline is used as the domin ant baseline when 'text-orientation' is 'upright' in vertical writing-mode." nam e="assert" /> 13 <meta content="This test checks that the central baseline is used as the domin ant baseline when 'text-orientation' is 'upright' in vertical writing-mode." nam e="assert" />
14 <meta content="ahem" name="flags" /> 14 <meta content="ahem" name="flags" />
15 15
16 <style type="text/css"><![CDATA[ 16 <style type="text/css"><![CDATA[
17 div#textorient-mixed 17 div#textorient-mixed
18 { 18 {
19 color: orange; 19 color: orange;
20 font: 60px/1.5 Ahem; /* computes to 60px/90px */ 20 font: 60px/1.5 Ahem; /* computes to 60px/90px */
21 height: 4em; 21 height: 4em;
22 -webkit-text-orientation: upright; 22 text-orientation: upright;
23 -webkit-writing-mode: vertical-lr; 23 -webkit-writing-mode: vertical-lr;
24 } 24 }
25 25
26 span#blue120 26 span#blue120
27 { 27 {
28 color: blue; 28 color: blue;
29 font-size: 2em; /* computes to 120px */ 29 font-size: 2em; /* computes to 120px */
30 } 30 }
31 31
32 span#orange30 32 span#orange30
33 { 33 {
34 font-size: 0.5em; /* computes to 30px */ 34 font-size: 0.5em; /* computes to 30px */
35 } 35 }
36 ]]></style> 36 ]]></style>
37 37
38 </head> 38 </head>
39 39
40 <body> 40 <body>
41 41
42 <p>Test passes if 2 orange squares are centered with respect to a blue square. </p> 42 <p>Test passes if 2 orange squares are centered with respect to a blue square. </p>
43 43
44 <div id="textorient-mixed">A<span id="blue120">B</span><span id="orange30">O</ span></div> 44 <div id="textorient-mixed">A<span id="blue120">B</span><span id="orange30">O</ span></div>
45 45
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698