Chromium Code Reviews| Index: test/data/input/css_main_test.html | 
| diff --git a/test/data/input/css_main_test.html b/test/data/input/css_main_test.html | 
| index 35f23ddfbe605deb1a551f88c5fc1b69c71dfd07..e6085120d0001b98d34a572f8bb812db35564453 100644 | 
| --- a/test/data/input/css_main_test.html | 
| +++ b/test/data/input/css_main_test.html | 
| @@ -8,7 +8,9 @@ BSD-style license that can be found in the LICENSE file. | 
| <head> | 
| <meta charset="utf-8"> | 
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 
| + <link rel="stylesheet" href="resources/base.css"> | 
| <link rel="components" href="css_comp1.html"> | 
| + <link rel="stylesheet" href="root.css"> | 
| <script type="application/javascript" src="testing.js"></script> | 
| <title>CSS Polyfill Test</title> | 
| </head> | 
| @@ -36,7 +38,8 @@ BSD-style license that can be found in the LICENSE file. | 
| background-color: LightCyan; | 
| } | 
| </style> | 
| - <div id="box-1"> | 
| + <div id="box-1" class="main-glyph"> | 
| + <div class="left-glyph"></div> | 
| <input class="comp-1-input" value="Test AAA"> | 
| </div> | 
| <input class="comp-1-done" value="Test BBB"> | 
| @@ -53,6 +56,20 @@ main() { | 
| useShadowDom = false; | 
| Timer.run(() { | 
| + // Main file css_main_test.html location. | 
| + String baseDirectory = 'web_ui/test/data/input/'; | 
| 
 
Siggi Cherem (dart-lang)
2013/03/11 21:13:11
remove the 'web_ui' segment. The 'web_ui' is not p
 
terry
2013/03/11 22:09:13
Okay, changed to /input/ and /input/resources/
On
 
 | 
| + | 
| + // URI to image in base directory | 
| + var items = queryAll('#box-1'); | 
| + DivElement box1Elem = items[0]; | 
| + var image1 = box1Elem.getComputedStyle().backgroundImage; | 
| + expect(image1.endsWith('${baseDirectory}main.png)'), true); | 
| + | 
| + // URI to image in child directory web_ui/test/data/input/css_main_test.html | 
| + DivElement box2Elem = box1Elem.children[0]; | 
| + var image2 = box2Elem.getComputedStyle().backgroundImage; | 
| + expect(image2.endsWith('${baseDirectory}resources/glyph.png)'), true); | 
| + | 
| window.postMessage('done', '*'); | 
| }); | 
| } |