| 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 e6d11f2bdd5b245c89bef307788a1139845752c6..bc8c4ba6367df864e025b50383b01980b916ebe2 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>
|
| @@ -43,7 +45,8 @@ BSD-style license that can be found in the LICENSE file.
|
| width: 300px;
|
| }
|
| </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">
|
| @@ -60,6 +63,17 @@ main() {
|
| useShadowDom = false;
|
|
|
| Timer.run(() {
|
| + // URI to image in base input directory
|
| + var items = queryAll('#box-1');
|
| + DivElement box1Elem = items[0];
|
| + var image1 = box1Elem.getComputedStyle().backgroundImage;
|
| + expect(image1.endsWith('/input/main.png)'), true);
|
| +
|
| + // URI to image in directory input/resources
|
| + DivElement box2Elem = box1Elem.children[0];
|
| + var image2 = box2Elem.getComputedStyle().backgroundImage;
|
| + expect(image2.endsWith('/input/resources/glyph.png)'), true);
|
| +
|
| window.postMessage('done', '*');
|
| });
|
| }
|
|
|