| Index: LayoutTests/fast/dom/shadow/import-rule-in-shadow-tree-needs-document-style-recalc.html
|
| diff --git a/LayoutTests/fast/dom/shadow/import-rule-in-shadow-tree-needs-document-style-recalc.html b/LayoutTests/fast/dom/shadow/import-rule-in-shadow-tree-needs-document-style-recalc.html
|
| index 71a3d9a931e146446a4a73bb031f55fa90c0e640..94e212554f8cf5de8bbcf98fb3ec1478b529c306 100644
|
| --- a/LayoutTests/fast/dom/shadow/import-rule-in-shadow-tree-needs-document-style-recalc.html
|
| +++ b/LayoutTests/fast/dom/shadow/import-rule-in-shadow-tree-needs-document-style-recalc.html
|
| @@ -1,4 +1,5 @@
|
| <!DOCTYPE html>
|
| +<script src="../../../resources/run-after-display.js"></script>
|
| <script>
|
| onload = function() {
|
| var host = document.getElementById('host');
|
| @@ -25,6 +26,13 @@ onload = function() {
|
| // Instead, use internals.updateStyleAndReturnAffectedElementCount
|
| // (to emulate @import's network delay).
|
| internals.updateStyleAndReturnAffectedElementCount();
|
| +
|
| + if (window.testRunner)
|
| + testRunner.waitUntilDone();
|
| + runAfterDisplay(function() {
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + });
|
| }
|
| </script>
|
| <div id="host"></div>
|
|
|