| OLD | NEW |
| (Empty) |
| 1 Various tests for the marquee element. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 "behavior" IDL attribute reflects content attribute: | |
| 7 PASS marquee.behavior is "slide" | |
| 8 "behavior" IDL attribute can be modified: | |
| 9 PASS marquee.behavior is "alternate" | |
| 10 "bgColor" IDL attribute reflects content attribute: | |
| 11 PASS marquee.bgColor is "red" | |
| 12 "bgColor" IDL attribute can be modified: | |
| 13 PASS marquee.bgColor is "blue" | |
| 14 "direction" IDL attribute reflects content attribute: | |
| 15 PASS marquee.direction is "right" | |
| 16 "direction" IDL attribute can be modified: | |
| 17 PASS marquee.direction is "left" | |
| 18 "height" IDL attribute reflects content attribute: | |
| 19 PASS marquee.height is "100px" | |
| 20 "height" IDL attribute can be modified: | |
| 21 PASS marquee.height is "200px" | |
| 22 "hspace" IDL attribute reflects content attribute: | |
| 23 PASS marquee.hspace is 10 | |
| 24 "hspace" IDL attribute can be modified: | |
| 25 PASS marquee.hspace is 20 | |
| 26 "hspace" IDL attribute is 0 when content attribute is negative: | |
| 27 PASS marquee.hspace is 0 | |
| 28 "hspace" IDL attribute is 0 when content attribute is too large: | |
| 29 PASS marquee.hspace is 0 | |
| 30 "loop" IDL attribute reflects content attribute: | |
| 31 PASS marquee.loop is 3 | |
| 32 "loop" IDL attribute can be modified: | |
| 33 PASS marquee.loop is 4 | |
| 34 "scrollAmount" IDL attribute reflects content attribute: | |
| 35 PASS marquee.scrollAmount is 5 | |
| 36 "scrollAmount" IDL attribute can be modified: | |
| 37 PASS marquee.scrollAmount is 6 | |
| 38 "scrollDelay" IDL attribute reflects content attribute: | |
| 39 PASS marquee.scrollDelay is 50 | |
| 40 "scrollDelay" IDL attribute can be modified: | |
| 41 PASS marquee.scrollDelay is 60 | |
| 42 "trueSpeed" IDL attribute reflects content attribute: | |
| 43 PASS marquee.trueSpeed is true | |
| 44 "trueSpeed" IDL attribute can be modified: | |
| 45 PASS marquee.trueSpeed is false | |
| 46 PASS marquee.hasAttribute("truespeed") is false | |
| 47 "trueSpeed" IDL attribute can be modified: | |
| 48 PASS marquee.hasAttribute("truespeed") is false | |
| 49 "trueSpeed" IDL attribute can be modified: | |
| 50 PASS marquee.hasAttribute("truespeed") is false | |
| 51 "vspace" IDL attribute reflects content attribute: | |
| 52 PASS marquee.vspace is 10 | |
| 53 "vspace" IDL attribute can be modified: | |
| 54 PASS marquee.vspace is 20 | |
| 55 "vspace" IDL attribute is 0 when content attribute is negative: | |
| 56 PASS marquee.vspace is 0 | |
| 57 "vspace" IDL attribute is 0 when content attribute is too large: | |
| 58 PASS marquee.vspace is 0 | |
| 59 Default "scrollAmount" value is 6: | |
| 60 PASS marquee.scrollAmount is 6 | |
| 61 "scrollAmount" uses default value when content attribute is not a number: | |
| 62 PASS marquee.scrollAmount is 6 | |
| 63 "scrollAmount" uses default value when content attribute is too large: | |
| 64 PASS marquee.scrollAmount is 6 | |
| 65 "scrollAmount" uses default value when content attribute is negative: | |
| 66 PASS marquee.scrollAmount is 6 | |
| 67 "scrollAmount" can be set to 0: | |
| 68 PASS marquee.scrollAmount is 0 | |
| 69 "scrollAmount" can be set to 2^31-1: | |
| 70 PASS marquee.scrollAmount is 2147483647 | |
| 71 "scrollAmount" can contain whitespace: | |
| 72 PASS marquee.scrollAmount is 5 | |
| 73 "scrollAmount" can contain trailing non-numeric values: | |
| 74 PASS marquee.scrollAmount is 5 | |
| 75 Setting "scrollAmount" to a negative value raises an exception: | |
| 76 PASS document.getElementById("marquee").scrollAmount = -1; threw exception Index
SizeError: Failed to set the 'scrollAmount' property on 'HTMLMarqueeElement': Th
e provided value (-1) is negative.. | |
| 77 Setting "scrollAmount" to a value that is too large raises an exception: | |
| 78 PASS document.getElementById("marquee").scrollAmount = 2147483648; threw excepti
on IndexSizeError: Failed to set the 'scrollAmount' property on 'HTMLMarqueeElem
ent': The provided value (-2147483648) is negative.. | |
| 79 Default "scrollDelay" value is 85: | |
| 80 PASS marquee.scrollDelay is 85 | |
| 81 "scrollDelay" uses default value when content attribute is not a number: | |
| 82 PASS marquee.scrollDelay is 85 | |
| 83 "scrollDelay" uses default value when content attribute is too large: | |
| 84 PASS marquee.scrollDelay is 85 | |
| 85 "scrollDelay" uses default value when content attribute is negative: | |
| 86 PASS marquee.scrollDelay is 85 | |
| 87 "scrollDelay" can be set to 0: | |
| 88 PASS marquee.scrollDelay is 0 | |
| 89 "scrollDelay" can be set to 2^31-1: | |
| 90 PASS marquee.scrollDelay is 2147483647 | |
| 91 "scrollDelay" can contain whitespace: | |
| 92 PASS marquee.scrollDelay is 5 | |
| 93 "scrollDelay" can contain trailing non-numeric values: | |
| 94 PASS marquee.scrollDelay is 5 | |
| 95 Setting "scrollDelay" to a negative value raises an exception: | |
| 96 PASS document.getElementById("marquee").scrollDelay = -1; threw exception IndexS
izeError: Failed to set the 'scrollDelay' property on 'HTMLMarqueeElement': The
provided value (-1) is negative.. | |
| 97 Setting "scrollDelay" to a value that is too large raises an exception: | |
| 98 PASS document.getElementById("marquee").scrollDelay = 2147483648; threw exceptio
n IndexSizeError: Failed to set the 'scrollDelay' property on 'HTMLMarqueeElemen
t': The provided value (-2147483648) is negative.. | |
| 99 Default "loop" value is -1: | |
| 100 PASS marquee.loop is -1 | |
| 101 "loop" uses default value when content attribute is not a number: | |
| 102 PASS marquee.loop is -1 | |
| 103 "loop" uses default value when content attribute is too large: | |
| 104 PASS marquee.loop is -1 | |
| 105 "loop" uses default value when content attribute is negative: | |
| 106 PASS marquee.loop is -1 | |
| 107 "loop" uses default value when set to 0: | |
| 108 PASS marquee.loop is -1 | |
| 109 "loop" can be set to 1: | |
| 110 PASS marquee.loop is 1 | |
| 111 "loop" can be set to 2^31-1: | |
| 112 PASS marquee.loop is 2147483647 | |
| 113 "loop" can contain whitespace: | |
| 114 PASS marquee.loop is 5 | |
| 115 "loop" can contain trailing non-numeric values: | |
| 116 PASS marquee.loop is 5 | |
| 117 Setting "loop" to 0 raises an exception: | |
| 118 PASS document.getElementById("marquee").loop = 0; threw exception IndexSizeError
: Failed to set the 'loop' property on 'HTMLMarqueeElement': The provided value
(0) is neither positive nor -1.. | |
| 119 Setting "loop" to a negative value raises an exception: | |
| 120 PASS document.getElementById("marquee").scrollDelay = -5; threw exception IndexS
izeError: Failed to set the 'scrollDelay' property on 'HTMLMarqueeElement': The
provided value (-5) is negative.. | |
| 121 "loop" can be set to -1 by script: | |
| 122 PASS marquee.loop is -1 | |
| 123 PASS successfullyParsed is true | |
| 124 | |
| 125 TEST COMPLETE | |
| 126 | |
| OLD | NEW |