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

Unified Diff: third_party/WebKit/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js

Issue 2104943005: Drop the adding and removing of the 'running' class in SVGTestCase.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
diff --git a/third_party/WebKit/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js b/third_party/WebKit/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
index 1709ea808d5650816661ff05f7ddf25d6e344975..494fd2b77827d4f5ed7788e028176e6d39910bc8 100644
--- a/third_party/WebKit/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
+++ b/third_party/WebKit/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
@@ -10,15 +10,12 @@ var iframeElement;
if (window.testRunner) {
var s = document.createElement('style');
- s.innerHTML += ".running h1, .running pre, .running div#console, .running p { display:none }";
s.innerHTML += "h1, pre, div#console, p { opacity: 0 }";
s.innerHTML += "body { overflow: hidden }";
document.head.appendChild(s);
- document.head.parentNode.classList.add("running");
}
function afterTest() {
- document.head.parentNode.classList.remove("running");
finishJSTest();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698