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

Unified Diff: LayoutTests/fast/dom/shadow/shadow-contents-select.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/shadow-contents-select.html
diff --git a/LayoutTests/fast/dom/shadow/shadow-contents-select.html b/LayoutTests/fast/dom/shadow/shadow-contents-select.html
index 8c7afcbf1cde3648875596a8ce3601fbf106708c..72b901d70da30b33f3bd15bf9e2ae6742dffd59d 100644
--- a/LayoutTests/fast/dom/shadow/shadow-contents-select.html
+++ b/LayoutTests/fast/dom/shadow/shadow-contents-select.html
@@ -88,33 +88,6 @@ function testSelectIsTypeWithAttribute() {
document.getElementById('container').appendChild(target);
}
-function testSelectIsTypeWithFirstOfType() {
- var target = document.createElement('div');
- target.innerHTML = "<div>azunyan</div><span>content</span><span>peropero</span>";
-
- appendShadow(target, "span:first-of-type");
-
- document.getElementById('container').appendChild(target);
-}
-
-function testSelectIsTypeWithFirstOfType2() {
- var target = document.createElement('div');
- target.innerHTML = "<div><span>azunyan</span></div><span>content</span><span>peropero</span>";
-
- appendShadow(target, "span:first-of-type");
-
- document.getElementById('container').appendChild(target);
-}
-
-function testSelectIsTypeWithLastOfType() {
- var target = document.createElement('div');
- target.innerHTML = "<span>azunyan</span><span>content</span><div>peropero</div>";
-
- appendShadow(target, "span:last-of-type");
-
- document.getElementById('container').appendChild(target);
-}
-
function testSelectIsDetails() {
var target = document.createElement('div');
target.innerHTML = "<details>content</details>";
@@ -153,9 +126,6 @@ var testFuncs = [
testSelectIsMultiId,
testSelectIsType,
testSelectIsTypeWithAttribute,
- testSelectIsTypeWithFirstOfType,
- testSelectIsTypeWithFirstOfType2,
- testSelectIsTypeWithLastOfType,
testSelectIsDetails,
testSelectIsDetails2,
testSelectWhenDynamicallyChildrenChanged,

Powered by Google App Engine
This is Rietveld 408576698