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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/direction-vlr-003.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: 'vertical-lr' and 'direction: rtl'</title> 7 <title>CSS Writing Modes Test: 'vertical-lr' and 'direction: 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/#logical-direc tions" title="6.2 Flow-relative Directions" /> 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#logical-direc tions" title="6.2 Flow-relative Directions" />
11 <link rel="match" href="direction-vlr-003-ref.xht" /> 11 <link rel="match" href="direction-vlr-003-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 when a block box has 'direction' set to ' rtl' in a vertical writing-mode, then inlines boxes are aligned from line-right to line-left." name="assert" /> 14 <meta content="This test checks that when a block box has 'direction' set to ' rtl' in a vertical writing-mode, then inlines boxes are aligned from line-right to line-left." name="assert" />
15 15
16 <style type="text/css"><![CDATA[ 16 <style type="text/css"><![CDATA[
17 p
18 {
19 line-height: 1.25;
20 }
21
22 strong
23 {
24 line-height: 1;
25 }
26
27 div 17 div
28 { 18 {
29 color: green; 19 color: green;
30 font: 6.25em/1 Ahem; /* computes to 100px/100px */ 20 font: 6.25em/1 Ahem; /* computes to 100px/100px */
31 height: 300px; 21 height: 300px;
32 width: 200px; 22 width: 200px;
33 } 23 }
34 24
35 div 25 div
36 { 26 {
37 background: red url("support/left-bottom-200x300.png"); 27 background: red url("support/left-bottom-200x300.png");
38 direction: rtl; 28 direction: rtl;
39 -webkit-writing-mode: vertical-lr; 29 -webkit-writing-mode: vertical-lr;
40 } 30 }
41 ]]></style> 31 ]]></style>
42 </head> 32 </head>
43 33
44 <body> 34 <body>
45 35
46 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p> 36 <p>Test passes if there is a filled green square and <strong>no red</strong>.< /p>
47 37
48 <div>B</div> 38 <div>B</div>
49 39
50 </body> 40 </body>
51 </html> 41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/W3CImportExpectations ('k') | LayoutTests/imported/csswg-test/css-writing-modes-3/direction-vlr-003-expected.xht » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698