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

Unified Diff: third_party/WebKit/LayoutTests/fast/svg/SVGStyleElement.html

Issue 2118903003: Relocate tests from fast/svg/ to svg/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-fast-svg-tests
Patch Set: Rename some files 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
Index: third_party/WebKit/LayoutTests/fast/svg/SVGStyleElement.html
diff --git a/third_party/WebKit/LayoutTests/fast/svg/SVGStyleElement.html b/third_party/WebKit/LayoutTests/fast/svg/SVGStyleElement.html
deleted file mode 100644
index 05b61ed62242c3b1547e969a743b90f477999fb3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/svg/SVGStyleElement.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!doctype html>
-<title>SVGStyleElement tests</title>
-<script src=../../resources/testharness.js></script>
-<script src=../../resources/testharnessreport.js></script>
-<div id="testcontainer">
-<svg width="1" height="1" visibility="hidden">
-<defs><style>.test { fill: green; }</style></defs>
-</svg>
-</div>
-<div id=log></div>
-<script>
-var svg = document.querySelector("svg"),
- style = document.querySelector("style");
-
-test(function() {
- // FIXME: This assertion should be replaced with
- // assert_idl_attribute(style, "sheet", description);
- // http://crbug.com/43394
- assert_true("sheet" in style, "");
-}, "SVGStyleElement implements LinkStyle");
-
-test(function() {
- assert_equals(document.styleSheets[0], style.sheet);
-}, "document.styleSheets contains style.sheet");
-
-test(function() {
- assert_equals(document.styleSheets[0].ownerNode, style);
-}, "sheet has correct ownerNode #1");
-
-test(function() {
- assert_equals(style.sheet.ownerNode, style);
-}, "sheet has correct ownerNode #2");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698