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

Unified Diff: LayoutTests/fast/dom/shadow/pseudoclass-update-link-anchor.html

Issue 1129673002: Remove support for pseudo classes in <content select>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix more tests. Created 5 years, 7 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/fast/dom/shadow/pseudoclass-update-link-anchor.html
diff --git a/LayoutTests/fast/dom/shadow/pseudoclass-update-link-anchor.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-link-anchor.html
deleted file mode 100644
index 4f156cdbed7fe6b475c203c92b42840f645f1231..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/shadow/pseudoclass-update-link-anchor.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-</head>
-
-<body>
-
-<p>When an anchor tag catch 'href' attribute or release 'href' attribute, distribution should happen.</p>
-
-<div id="host1">
- <a id="anchor1" href="http://www.example.com/">Anchor 1</a>
- <a id="anchor2" href="http://www.example.com/">Anchor 2</a>
-</div>
-
-<div id="host2">
- <a id="anchor3">Anchor 3</a>
- <a id="anchor4">Anchor 4</a>
-</div>
-
-<script>
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-host1.createShadowRoot().innerHTML = '<content select=":link"></content>';
-host2.createShadowRoot().innerHTML = '<content select=":link"></content>';
-
-setTimeout(function() {
- anchor2.removeAttribute('href');
- anchor4.setAttribute('href', 'http://www.example.com/');
- testRunner.notifyDone();
-}, 0);
-
-</script>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698