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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/clip-rect-vlr-005.xht

Issue 1170703002: Import more CSS Writing Modes Level 3 test suites (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: TestExpetations 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
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: 'clip: rect()' in 'vertical-lr' writing-mode (n on-orthogonal)</title> 7 <title>CSS Writing Modes Test: 'clip: rect()' in 'vertical-lr' writing-mode (o rthogonal)</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/#physical-only " title="7.6 Purely Physical Mappings" /> 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#physical-only " title="7.6 Purely Physical Mappings" />
11 <link rel="match" href="clip-rect-vlr-013-ref.xht" /> 11 <link rel="match" href="clip-rect-vrl-004-ref.xht" />
12 12
13 <meta content="image" name="flags" /> 13 <meta content="image" name="flags" />
14 <meta content="This test checks that 'clip: rect(0px, 100px, 50px, 50px)' set to an image in a 'writing-mode: vertical-lr' document will make invisible the re gion outside the top-right corner of such image." name="assert" /> 14 <meta content="This test checks that 'clip: rect(0px, 100px, 50px, 50px)' set to an image with 'writing-mode: vertical-lr' will make invisible the region outs ide the top-right corner of such image." name="assert" />
15 15
16 <style type="text/css"><![CDATA[ 16 <style type="text/css"><![CDATA[
17 html
18 {
19 -webkit-writing-mode: vertical-lr;
20 }
21
22 img#test 17 img#test
23 { 18 {
24 clip: rect(0px, 100px, 50px, 50px); 19 clip: rect(0px, 100px, 50px, 50px);
25 position: absolute; 20 position: absolute;
21 -webkit-writing-mode: vertical-lr;
26 } 22 }
27 ]]></style> 23 ]]></style>
28 </head> 24 </head>
29 25
30 <body> 26 <body>
31 27
32 <p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="3 6" alt="Image download support must be enabled" /></p> 28 <p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="3 6" alt="Image download support must be enabled" /></p>
33 29
34 <!-- 30 <!--
35 Image says: 31 Image says:
36 Test passes if there is a filled green square and <strong>no red</strong>. 32 Test passes if there is a filled green square and <strong>no red</strong>.
37 --> 33 -->
38 34
39 <div><img id="test" src="support/pattern-rg-rr-100x100.png" width="100" height ="100" alt="Image download support must be enabled" /></div> 35 <div><img id="test" src="support/pattern-rg-rr-100x100.png" width="100" height ="100" alt="Image download support must be enabled" /></div>
40 36
41 </body> 37 </body>
42 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698