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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-position-origin-initial.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>background-position: initial on top of 4-value</title> 4 <title>background-position: initial on top of 4-value</title>
5 <style> 5 <style>
6 body { margin: 0 } 6 body { margin: 0 }
7 .test1 { 7 .test1 {
8 height: 200px; 8 height: 200px;
9 width: 200px; 9 width: 200px;
10 background-image: 10 background-image:
11 url(../../css3/images/resources/red-100.png); 11 url(../../images/resources/red-100.png);
12 background-repeat: no-repeat; 12 background-repeat: no-repeat;
13 13
14 /* Intended to be overwritten: */ 14 /* Intended to be overwritten: */
15 background-position: bottom 50% right 50px; 15 background-position: bottom 50% right 50px;
16 } 16 }
17 .test2 { 17 .test2 {
18 /* The background-position to be used: */ 18 /* The background-position to be used: */
19 background-position: initial; 19 background-position: initial;
20 } 20 }
21 .ref { 21 .ref {
22 height: 100px; 22 height: 100px;
23 width: 100px; 23 width: 100px;
24 top: 0; 24 top: 0;
25 left: 0; 25 left: 0;
26 background-color: green; 26 background-color: green;
27 position: absolute; 27 position: absolute;
28 } 28 }
29 </style> 29 </style>
30 </head> 30 </head>
31 <body> 31 <body>
32 <div class="test1 test2"></div> 32 <div class="test1 test2"></div>
33 <div class="ref"></div> 33 <div class="ref"></div>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698