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

Unified Diff: LayoutTests/fast/dom/relList_on_link-expected.txt

Issue 400763002: Adding relList attr to link and anchor element Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: modified as per review comment Created 6 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: LayoutTests/fast/dom/relList_on_link-expected.txt
diff --git a/LayoutTests/fast/dom/relList_on_link-expected.txt b/LayoutTests/fast/dom/relList_on_link-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..619eed551628ec9c3e3b2e3e5bb2043d3b98a58a
--- /dev/null
+++ b/LayoutTests/fast/dom/relList_on_link-expected.txt
@@ -0,0 +1,23 @@
+Checks relList attribute on link element
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS link.relList.__proto__ is DOMTokenList.prototype
+PASS link.relList.contains('shortcut') is true
+PASS link.relList.contains('icon') is true
+PASS link.relList.length is 2
+PASS link.relList.contains('shortcut1') is false
+PASS link.rel = 'nofollow' did not throw exception.
+PASS link.relList.length is 1
+PASS link.relList.contains('nofollow') is true
+PASS link.relList.contains('shortcut') is false
+PASS link.relList.contains('icon') is false
+PASS link.removeAttribute('rel') did not throw exception.
+PASS link.rel is ""
+PASS link.relList.length is 0
+PASS link.relList[0] is undefined.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698