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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/text-baseline-vlr-005.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 Writing Modes Test: text baseline alignment - central alignment w ith vertical layout</title> 4 <title>CSS Writing Modes Test: text baseline alignment - central alignment w ith vertical layout</title>
5 <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmai l.com" /> 5 <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmai l.com" />
6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/Brow serBugsSection/css21testsuite/" /> <!-- 2015-09-26 --> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/Brow serBugsSection/css21testsuite/" /> <!-- 2015-09-26 -->
7 <link rel="help" title="4.2. Text Baseline" href="http://www.w3.org/TR/css-w riting-modes-3/#text-baselines" /> 7 <link rel="help" title="4.2. Text Baseline" href="http://www.w3.org/TR/css-w riting-modes-3/#text-baselines" />
8 <link rel="match" href="text-baseline-vrl-002-ref.xht" /> 8 <link rel="match" href="text-baseline-vrl-002-ref.xht" />
9 <meta name="assert" content="This test checks the generation of text baselin e. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'upright' , then the central baseline is used as the dominant baseline." /> 9 <meta name="assert" content="This test checks the generation of text baselin e. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'upright' , then the central baseline is used as the dominant baseline." />
10 <meta name="flags" content="ahem" /> 10 <meta name="flags" content="ahem" />
11 <style type="text/css"><![CDATA[ 11 <style type="text/css"><![CDATA[
12 div#lr-upright 12 div#lr-upright
13 { 13 {
14 color: orange; 14 color: orange;
15 font: 60px/1.5 Ahem; /* computes to 60px/90px */ 15 font: 60px/1.5 Ahem; /* computes to 60px/90px */
16 writing-mode: vertical-lr; 16 writing-mode: vertical-lr;
(...skipping 15 matching lines...) Expand all
32 </head> 32 </head>
33 33
34 <body> 34 <body>
35 35
36 <p>Test passes if 2 orange squares are centered with respect to a blue square. </p> 36 <p>Test passes if 2 orange squares are centered with respect to a blue square. </p>
37 37
38 <div id="lr-upright">A<span id="blue120">B</span><span id="orange30">O</span>< /div> 38 <div id="lr-upright">A<span id="blue120">B</span><span id="orange30">O</span>< /div>
39 39
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698