| Index: third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-expected.txt
|
| index c127336a2dc7c9fb719a0ba5eb441ce7b47bff0b..1aaa5a40b0d5228386a01c9b67dec3bc977107fb 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLElement/class-list-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.
|
|
|