Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / platform / win / fast / dom / tabindex-clamp-expected.txt
1 This page tests that the tabindex attribute is clamped to values between -32768 and 32767. Values outside of this range should be clamped to the range limits.
2
3                 
4 Testing input elements in the page
5 getAttribute("tabindex") = 40000; tabIndex = 32767
6 getAttribute("tabindex") = 32768; tabIndex = 32767
7 getAttribute("tabindex") = 32767; tabIndex = 32767
8 getAttribute("tabindex") = 32766; tabIndex = 32766
9 getAttribute("tabindex") = 0; tabIndex = 0
10 getAttribute("tabindex") = -1; tabIndex = -1
11 getAttribute("tabindex") = -32767; tabIndex = -32767
12 getAttribute("tabindex") = -32768; tabIndex = -32768
13 getAttribute("tabindex") = -32769; tabIndex = -32768
14 getAttribute("tabindex") = -40000; tabIndex = -32768
15 Testing setAttribute on an anchor element made with document.createElement
16 getAttribute("tabindex") = 40000; tabIndex = 32767
17 getAttribute("tabindex") = 32768; tabIndex = 32767
18 getAttribute("tabindex") = 32767; tabIndex = 32767
19 getAttribute("tabindex") = 32766; tabIndex = 32766
20 getAttribute("tabindex") = 0; tabIndex = 0
21 getAttribute("tabindex") = -1; tabIndex = -1
22 getAttribute("tabindex") = -32767; tabIndex = -32767
23 getAttribute("tabindex") = -32768; tabIndex = -32768
24 getAttribute("tabindex") = -40000; tabIndex = -32768
25 Testing tabIndex on an area element made with document.createElement
26 getAttribute("tabindex") = 40000; tabIndex = 32767
27 getAttribute("tabindex") = 32768; tabIndex = 32767
28 getAttribute("tabindex") = 32767; tabIndex = 32767
29 getAttribute("tabindex") = 32766; tabIndex = 32766
30 getAttribute("tabindex") = 0; tabIndex = 0
31 getAttribute("tabindex") = -1; tabIndex = -1
32 getAttribute("tabindex") = -32767; tabIndex = -32767
33 getAttribute("tabindex") = -32768; tabIndex = -32768
34 getAttribute("tabindex") = -40000; tabIndex = -32768
35