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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLOutputElement.h

Issue 2362223002: Stop clamping tabIndex to short range (Closed)
Patch Set: Fix tabindex-clamp.html Created 4 years, 1 month 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 /* 1 /*
2 * Copyright (c) 2010 Google Inc. All rights reserved. 2 * Copyright (c) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const AtomicString&, 65 const AtomicString&,
66 const AtomicString&) override; 66 const AtomicString&) override;
67 const AtomicString& formControlType() const override; 67 const AtomicString& formControlType() const override;
68 bool isDisabledFormControl() const override; 68 bool isDisabledFormControl() const override;
69 bool matchesEnabledPseudoClass() const override; 69 bool matchesEnabledPseudoClass() const override;
70 bool isEnumeratable() const override { return true; } 70 bool isEnumeratable() const override { return true; }
71 bool supportLabels() const override { return true; } 71 bool supportLabels() const override { return true; }
72 bool supportsFocus() const override; 72 bool supportsFocus() const override;
73 void childrenChanged(const ChildrenChange&) override; 73 void childrenChanged(const ChildrenChange&) override;
74 void resetImpl() override; 74 void resetImpl() override;
75 short tabIndex() const override; 75 int tabIndex() const override;
76 76
77 void valueWasSet() final; 77 void valueWasSet() final;
78 78
79 bool m_isDefaultValueMode; 79 bool m_isDefaultValueMode;
80 String m_defaultValue; 80 String m_defaultValue;
81 Member<DOMTokenList> m_tokens; 81 Member<DOMTokenList> m_tokens;
82 }; 82 };
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif // HTMLOutputElement_h 86 #endif // HTMLOutputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698