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

Side by Side Diff: LayoutTests/fast/dom/relList_on_anchor-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 unified diff | Download patch
OLDNEW
(Empty)
1 Checks relList attribute on anchor element
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS anchor.relList.__proto__ is DOMTokenList.prototype
7 PASS anchor.relList.contains('shortcut') is true
8 PASS anchor.relList.contains('icon') is true
9 PASS anchor.relList.length is 2
10 PASS anchor.relList.contains('shortcut1') is false
11 PASS anchor.rel = 'nofollow' did not throw exception.
12 PASS anchor.relList.length is 1
13 PASS anchor.relList.contains('nofollow') is true
14 PASS anchor.relList.contains('shortcut') is false
15 PASS anchor.relList.contains('icon') is false
16 PASS anchor.removeAttribute('rel') did not throw exception.
17 PASS anchor.rel is ""
18 PASS anchor.relList.length is 0
19 PASS anchor.relList[0] is undefined.
20 PASS successfullyParsed is true
21
22 TEST COMPLETE
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698