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

Unified Diff: LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html

Issue 208583004: Remove repaint.js from svg tests that pass without it (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove use-instanceRoot-event-bubbling.xhtml Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html
diff --git a/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html b/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html
index ec59a35dd614adcc87601847ba9097797affb691..1c8081f34e6c5ec003ec609f63122d1f744fc2e8 100644
--- a/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html
+++ b/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html
@@ -5,7 +5,7 @@ window.enablePixelTesting = true;
window.jsTestIsAsync = true;
</script>
<script src="../../resources/js-test.js"></script>
-<script src="../../fast/repaint/resources/repaint.js"></script>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
<script type="text/javascript">
function repaintTest() {
// Test initial reported offsetWidth is 0, as we're not in the tree yet.
@@ -31,7 +31,7 @@ window.jsTestIsAsync = true;
}
</script>
</head>
-<body style="margin: 0px" onload="runRepaintTest()">
+<body style="margin: 0px" onload="forceStyleRecalc();repaintTest();">
<p id="description"></p>
<div id="console"></div>

Powered by Google App Engine
This is Rietveld 408576698