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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/background-position-vrl-022.xht

Issue 1161223002: Import csswg-test/css-writing-modes-3/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comments updated 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
(Empty)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2
3 <html xmlns="http://www.w3.org/1999/xhtml">
4
5 <head>
6
7 <title>CSS Writing Modes Test: 'background-position: left bottom' and 'vertica l-rl' when document root element does not fill viewport width</title>
8
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" />
11 <link rel="match" href="background-position-vrl-018-ref.xht" />
12
13 <meta content="image interact" name="flags" />
14 <meta content="This test checks that 'background-position: left bottom' will m ake background-image start at left side of document root element (even in case t here is resizing of the window) because background properties should not be affe cted by vertical writing-mode." name="assert" />
15
16 <style type="text/css"><![CDATA[
17 html
18 {
19 background-image: url("support/100x100-red.png");
20 background-position: left bottom;
21 background-repeat: repeat-y;
22 width: auto; /* Very important: we intentionally want the
23 document root element to not fill the viewport width */
24 -webkit-writing-mode: vertical-rl;
25 }
26
27 div#reference-overlapping-green
28 {
29 background-color: green;
30 height: 100%;
31 position: absolute;
32 right: 273px;
33 /*
34 8px : body's margin-right
35 +
36 357px : pass-cdts-background-position.png's image width
37 +
38 8px : body's margin-left
39 -
40 100px : background-image width (100x100-red.png)
41 ==========
42 273px is
43 */
44 top: 0px;
45 width: 100px;
46 }
47
48 /*
49 This test requires a viewport width of at least (strict minimum) of 473px !
50 */
51 ]]></style>
52 </head>
53
54 <body>
55
56 <div><img src="support/pass-cdts-bg-pos-vrl-018.png" width="357" height="17" a lt="Image download support must be enabled" /></div>
57
58 <!--
59 The image says:
60
61 Test passes if there is a <strong>no red</strong>.
62 -->
63
64 <div id="reference-overlapping-green"></div>
65
66 </body>
67 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698