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

Unified Diff: third_party/WebKit/LayoutTests/svg/as-image/svgview-references-use-counters.html

Issue 2163213007: Deprecate currentView, useCurrentView properties of SVGSVGElement and SVGViewSpec interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: third_party/WebKit/LayoutTests/svg/as-image/svgview-references-use-counters.html
diff --git a/third_party/WebKit/LayoutTests/svg/as-image/svgview-references-use-counters.html b/third_party/WebKit/LayoutTests/svg/as-image/svgview-references-use-counters.html
deleted file mode 100644
index 743622d518cd8585ec5e1e69b59c81bb14215dc1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/as-image/svgview-references-use-counters.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/js-test.js"></script>
-<script src="../../resources/run-after-layout-and-paint.js"></script>
-<style>
- object {
- width: 100px;
- height: 100px;
- }
-</style>
-<body>
-</body>
-<script>
- var SVGSVGElementFragmentSVGView = 1036; // From UseCounter.h
- var SVGSVGElementFragmentSVGViewElement = 1037; // From UseCounter.h
- window.jsTestIsAsync = true;
-
- var obj = document.createElement('object');
- obj.data = "resources/svglogo.svg";
- document.body.appendChild(obj);
-
- obj.onload = function() {
- runAfterLayoutAndPaint(function() {
- shouldBeFalse("window.internals.isUseCounted(document.querySelector('object').contentDocument, SVGSVGElementFragmentSVGView)");
- shouldBeFalse("window.internals.isUseCounted(document.querySelector('object').contentDocument, SVGSVGElementFragmentSVGViewElement)");
-
- var obj = document.createElement('object');
- obj.data = "resources/svglogo.svg#svgView(viewBox(0,0,150,150))";
- document.body.appendChild(obj);
-
- obj.onload = function() {
- runAfterLayoutAndPaint(function() {
- shouldBeTrue("window.internals.isUseCounted(document.querySelector('object').contentDocument, SVGSVGElementFragmentSVGView)");
- shouldBeFalse("window.internals.isUseCounted(document.querySelector('object').contentDocument, SVGSVGElementFragmentSVGViewElement)");
-
- var obj = document.createElement('object');
- obj.data = "resources/svglogo-viewbox.svg#original";
- document.body.appendChild(obj);
-
- obj.onload = function() {
- runAfterLayoutAndPaint(function() {
- shouldBeTrue("window.internals.isUseCounted(document.querySelector('object').contentDocument, SVGSVGElementFragmentSVGView)");
- shouldBeTrue("window.internals.isUseCounted(document.querySelector('object').contentDocument, SVGSVGElementFragmentSVGViewElement)");
- finishJSTest();
- });
- };
- });
- };
- });
- };
-</script>
-

Powered by Google App Engine
This is Rietveld 408576698