| OLD | NEW |
| 1 Various tests for the marquee element. | 1 Various tests for the marquee element. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 "behavior" IDL attribute reflects content attribute: | 6 "behavior" IDL attribute reflects content attribute: |
| 7 PASS marquee.behavior is "slide" | 7 PASS marquee.behavior is "slide" |
| 8 "behavior" IDL attribute can be modified: | 8 "behavior" IDL attribute can be modified: |
| 9 PASS marquee.behavior is "alternate" | 9 PASS marquee.behavior is "alternate" |
| 10 "bgColor" IDL attribute reflects content attribute: | 10 "bgColor" IDL attribute reflects content attribute: |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 PASS marquee.scrollAmount is 6 | 61 PASS marquee.scrollAmount is 6 |
| 62 "scrollAmount" can be set to 0: | 62 "scrollAmount" can be set to 0: |
| 63 PASS marquee.scrollAmount is 0 | 63 PASS marquee.scrollAmount is 0 |
| 64 "scrollAmount" can be set to 2^31-1: | 64 "scrollAmount" can be set to 2^31-1: |
| 65 PASS marquee.scrollAmount is 2147483647 | 65 PASS marquee.scrollAmount is 2147483647 |
| 66 "scrollAmount" can contain whitespace: | 66 "scrollAmount" can contain whitespace: |
| 67 PASS marquee.scrollAmount is 5 | 67 PASS marquee.scrollAmount is 5 |
| 68 "scrollAmount" can contain trailing non-numeric values: | 68 "scrollAmount" can contain trailing non-numeric values: |
| 69 PASS marquee.scrollAmount is 5 | 69 PASS marquee.scrollAmount is 5 |
| 70 Setting "scrollAmount" to a negative value raises an exception: | 70 Setting "scrollAmount" to a negative value raises an exception: |
| 71 PASS document.getElementById("marquee").scrollAmount = -1; threw exception Error
: IndexSizeError: DOM Exception 1. | 71 PASS document.getElementById("marquee").scrollAmount = -1; threw exception Index
SizeError: Index or size was negative, or greater than the allowed value.. |
| 72 Setting "scrollAmount" to a value that is too large raises an exception: | 72 Setting "scrollAmount" to a value that is too large raises an exception: |
| 73 PASS document.getElementById("marquee").scrollAmount = 2147483648; threw excepti
on Error: IndexSizeError: DOM Exception 1. | 73 PASS document.getElementById("marquee").scrollAmount = 2147483648; threw excepti
on IndexSizeError: Index or size was negative, or greater than the allowed value
.. |
| 74 Default "scrollDelay" value is 85: | 74 Default "scrollDelay" value is 85: |
| 75 PASS marquee.scrollDelay is 85 | 75 PASS marquee.scrollDelay is 85 |
| 76 "scrollDelay" uses default value when content attribute is not a number: | 76 "scrollDelay" uses default value when content attribute is not a number: |
| 77 PASS marquee.scrollDelay is 85 | 77 PASS marquee.scrollDelay is 85 |
| 78 "scrollDelay" uses default value when content attribute is too large: | 78 "scrollDelay" uses default value when content attribute is too large: |
| 79 PASS marquee.scrollDelay is 85 | 79 PASS marquee.scrollDelay is 85 |
| 80 "scrollDelay" uses default value when content attribute is negative: | 80 "scrollDelay" uses default value when content attribute is negative: |
| 81 PASS marquee.scrollDelay is 85 | 81 PASS marquee.scrollDelay is 85 |
| 82 "scrollDelay" can be set to 0: | 82 "scrollDelay" can be set to 0: |
| 83 PASS marquee.scrollDelay is 0 | 83 PASS marquee.scrollDelay is 0 |
| 84 "scrollDelay" can be set to 2^31-1: | 84 "scrollDelay" can be set to 2^31-1: |
| 85 PASS marquee.scrollDelay is 2147483647 | 85 PASS marquee.scrollDelay is 2147483647 |
| 86 "scrollDelay" can contain whitespace: | 86 "scrollDelay" can contain whitespace: |
| 87 PASS marquee.scrollDelay is 5 | 87 PASS marquee.scrollDelay is 5 |
| 88 "scrollDelay" can contain trailing non-numeric values: | 88 "scrollDelay" can contain trailing non-numeric values: |
| 89 PASS marquee.scrollDelay is 5 | 89 PASS marquee.scrollDelay is 5 |
| 90 Setting "scrollDelay" to a negative value raises an exception: | 90 Setting "scrollDelay" to a negative value raises an exception: |
| 91 PASS document.getElementById("marquee").scrollDelay = -1; threw exception Error:
IndexSizeError: DOM Exception 1. | 91 PASS document.getElementById("marquee").scrollDelay = -1; threw exception IndexS
izeError: Index or size was negative, or greater than the allowed value.. |
| 92 Setting "scrollDelay" to a value that is too large raises an exception: | 92 Setting "scrollDelay" to a value that is too large raises an exception: |
| 93 PASS document.getElementById("marquee").scrollDelay = 2147483648; threw exceptio
n Error: IndexSizeError: DOM Exception 1. | 93 PASS document.getElementById("marquee").scrollDelay = 2147483648; threw exceptio
n IndexSizeError: Index or size was negative, or greater than the allowed value.
. |
| 94 Default "loop" value is -1: | 94 Default "loop" value is -1: |
| 95 PASS marquee.loop is -1 | 95 PASS marquee.loop is -1 |
| 96 "loop" uses default value when content attribute is not a number: | 96 "loop" uses default value when content attribute is not a number: |
| 97 PASS marquee.loop is -1 | 97 PASS marquee.loop is -1 |
| 98 "loop" uses default value when content attribute is too large: | 98 "loop" uses default value when content attribute is too large: |
| 99 PASS marquee.loop is -1 | 99 PASS marquee.loop is -1 |
| 100 "loop" uses default value when content attribute is negative: | 100 "loop" uses default value when content attribute is negative: |
| 101 PASS marquee.loop is -1 | 101 PASS marquee.loop is -1 |
| 102 "loop" uses default value when set to 0: | 102 "loop" uses default value when set to 0: |
| 103 PASS marquee.loop is -1 | 103 PASS marquee.loop is -1 |
| 104 "loop" can be set to 1: | 104 "loop" can be set to 1: |
| 105 PASS marquee.loop is 1 | 105 PASS marquee.loop is 1 |
| 106 "loop" can be set to 2^31-1: | 106 "loop" can be set to 2^31-1: |
| 107 PASS marquee.loop is 2147483647 | 107 PASS marquee.loop is 2147483647 |
| 108 "loop" can contain whitespace: | 108 "loop" can contain whitespace: |
| 109 PASS marquee.loop is 5 | 109 PASS marquee.loop is 5 |
| 110 "loop" can contain trailing non-numeric values: | 110 "loop" can contain trailing non-numeric values: |
| 111 PASS marquee.loop is 5 | 111 PASS marquee.loop is 5 |
| 112 Setting "loop" to 0 raises an exception: | 112 Setting "loop" to 0 raises an exception: |
| 113 PASS document.getElementById("marquee").loop = 0; threw exception Error: IndexSi
zeError: DOM Exception 1. | 113 PASS document.getElementById("marquee").loop = 0; threw exception IndexSizeError
: Index or size was negative, or greater than the allowed value.. |
| 114 Setting "loop" to a negative value raises an exception: | 114 Setting "loop" to a negative value raises an exception: |
| 115 PASS document.getElementById("marquee").scrollDelay = -5; threw exception Error:
IndexSizeError: DOM Exception 1. | 115 PASS document.getElementById("marquee").scrollDelay = -5; threw exception IndexS
izeError: Index or size was negative, or greater than the allowed value.. |
| 116 "loop" can be set to -1 by script: | 116 "loop" can be set to -1 by script: |
| 117 PASS marquee.loop is -1 | 117 PASS marquee.loop is -1 |
| 118 PASS successfullyParsed is true | 118 PASS successfullyParsed is true |
| 119 | 119 |
| 120 TEST COMPLETE | 120 TEST COMPLETE |
| 121 | 121 |
| OLD | NEW |