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

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

Issue 1411123004: Handle extra whitespaces in the DOM token list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 12d2a5d272371a906b91391623f280887920264f..e65d21af2c3a56a4380db180f197787c597dc7ca 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
@@ -15,7 +15,7 @@ PASS element.className is "x 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 y"
PASS element.className is "y"
Ensure that we can handle empty class name correctly
PASS element.classList.toggle('x') is true
@@ -98,8 +98,11 @@ PASS element.classList.add("a", {toString: function() { throw new Error("user er
PASS element.className is ""
PASS element.classList.add() did not throw exception.
PASS observer.takeRecords().length is 1
-PASS element.className is "b d "
-PASS element.className is "d "
+PASS element.className is "b c"
+PASS element.className is "a c"
+PASS element.className is "a b"
+PASS element.className is "b d"
+PASS element.className is "d"
PASS element.className is "a b c"
PASS element.classList.remove('a', 'b', '') threw expected DOMException with code 12
PASS element.className is "a b"

Powered by Google App Engine
This is Rietveld 408576698