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

Side by Side Diff: third_party/WebKit/LayoutTests/platform/win/fast/dom/tabindex-clamp-expected.txt

Issue 2362223002: Stop clamping tabIndex to short range (Closed)
Patch Set: Fix test expectation Created 4 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 unified diff | Download patch
OLDNEW
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. 1 This page tests that the tabindex attribute is clamped to values between -214748 3648 and 2147483647. Values outside of this range will be set to zero.
2 2
3 3
kochi 2016/10/18 02:37:24 (this is not mandatory, you can ignore this) The d
rwlbuis 2016/10/19 00:43:43 It does not seem needed, I removed it :)
4 Testing input elements in the page 4 Testing input elements in the page
5 getAttribute("tabindex") = 40000; tabIndex = 32767 5 getAttribute("tabindex") = 3147483648; tabIndex = 0
6 getAttribute("tabindex") = 32768; tabIndex = 32767 6 getAttribute("tabindex") = 2147483648; tabIndex = 0
7 getAttribute("tabindex") = 32767; tabIndex = 32767 7 getAttribute("tabindex") = 2147483647; tabIndex = 2147483647
8 getAttribute("tabindex") = 32766; tabIndex = 32766 8 getAttribute("tabindex") = 2147483646; tabIndex = 2147483646
9 getAttribute("tabindex") = 0; tabIndex = 0 9 getAttribute("tabindex") = 0; tabIndex = 0
10 getAttribute("tabindex") = -1; tabIndex = -1 10 getAttribute("tabindex") = -1; tabIndex = -1
11 getAttribute("tabindex") = -32767; tabIndex = -32767 11 getAttribute("tabindex") = -2147483647; tabIndex = -2147483647
12 getAttribute("tabindex") = -32768; tabIndex = -32768 12 getAttribute("tabindex") = -2147483648; tabIndex = -2147483648
13 getAttribute("tabindex") = -32769; tabIndex = -32768 13 getAttribute("tabindex") = -2147483649; tabIndex = 0
14 getAttribute("tabindex") = -40000; tabIndex = -32768 14 getAttribute("tabindex") = -3147483648; tabIndex = 0
15 Testing setAttribute on an anchor element made with document.createElement 15 Testing setAttribute on an anchor element made with document.createElement
16 getAttribute("tabindex") = 40000; tabIndex = 32767 16 getAttribute("tabindex") = 3147483648; tabIndex = 0
17 getAttribute("tabindex") = 32768; tabIndex = 32767 17 getAttribute("tabindex") = 2147483648; tabIndex = 0
18 getAttribute("tabindex") = 32767; tabIndex = 32767 18 getAttribute("tabindex") = 2147483647; tabIndex = 2147483647
19 getAttribute("tabindex") = 32766; tabIndex = 32766 19 getAttribute("tabindex") = 2147483646; tabIndex = 2147483646
20 getAttribute("tabindex") = 0; tabIndex = 0 20 getAttribute("tabindex") = 0; tabIndex = 0
21 getAttribute("tabindex") = -1; tabIndex = -1 21 getAttribute("tabindex") = -1; tabIndex = -1
22 getAttribute("tabindex") = -32767; tabIndex = -32767 22 getAttribute("tabindex") = -2147483647; tabIndex = -2147483647
23 getAttribute("tabindex") = -32768; tabIndex = -32768 23 getAttribute("tabindex") = -2147483648; tabIndex = -2147483648
24 getAttribute("tabindex") = -40000; tabIndex = -32768 24 getAttribute("tabindex") = -3147483648; tabIndex = -2147483648
25 Testing tabIndex on an area element made with document.createElement 25 Testing tabIndex on an area element made with document.createElement
26 getAttribute("tabindex") = 40000; tabIndex = 32767 26 getAttribute("tabindex") = -1147483648; tabIndex = -1147483648
27 getAttribute("tabindex") = 32768; tabIndex = 32767 27 getAttribute("tabindex") = -2147483648; tabIndex = -2147483648
28 getAttribute("tabindex") = 32767; tabIndex = 32767 28 getAttribute("tabindex") = 2147483647; tabIndex = 2147483647
29 getAttribute("tabindex") = 32766; tabIndex = 32766 29 getAttribute("tabindex") = 2147483646; tabIndex = 2147483646
30 getAttribute("tabindex") = 0; tabIndex = 0 30 getAttribute("tabindex") = 0; tabIndex = 0
31 getAttribute("tabindex") = -1; tabIndex = -1 31 getAttribute("tabindex") = -1; tabIndex = -1
32 getAttribute("tabindex") = -32767; tabIndex = -32767 32 getAttribute("tabindex") = -2147483647; tabIndex = -2147483647
33 getAttribute("tabindex") = -32768; tabIndex = -32768 33 getAttribute("tabindex") = -2147483648; tabIndex = -2147483648
34 getAttribute("tabindex") = -40000; tabIndex = -32768 34 getAttribute("tabindex") = 1147483648; tabIndex = 1147483648
35 35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698