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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt

Issue 2903803002: DOMTokenList should unify duplicated tokens. (Closed)
Patch Set: Update a -expected.txt Created 3 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: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt
index c127336a2dc7c9fb719a0ba5eb441ce7b47bff0b..1aaa5a40b0d5228386a01c9b67dec3bc977107fb 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt
@@ -8,15 +8,15 @@ PASS String(element.classList) is "y"
PASS String(element.className) is "y"
PASS element.classList.length is 0
PASS element.classList.length is 1
+PASS element.classList.length is 1
PASS element.classList.length is 2
-PASS element.classList.length is 2
PASS element.className is "x"
PASS element.className is "x"
-PASS element.className is "x x"
+PASS element.className is "x"
PASS element.className is "y x"
PASS element.className is ""
PASS element.className is ""
-PASS element.className is "y y"
+PASS element.className is "y"
PASS element.className is "y"
Ensure that we can handle empty class name correctly
PASS element.classList.toggle('x') is true
@@ -53,8 +53,8 @@ PASS element.classList.toggle() threw exception TypeError: Failed to execute 'to
Indexing
PASS element.classList[0] is "x"
PASS element.classList.item(0) is "x"
-PASS element.classList[1] is "x"
-PASS element.classList.item(1) is "x"
+PASS element.classList[1] is undefined.
+PASS element.classList.item(1) is null
PASS element.classList[1] is "y"
PASS element.classList.item(1) is "y"
PASS element.classList[0] is undefined.

Powered by Google App Engine
This is Rietveld 408576698