WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
69056
Check behavior of tabindex attribute with a large number
https://bugs.webkit.org/show_bug.cgi?id=69056
Summary
Check behavior of tabindex attribute with a large number
Kent Tamura
Reported
2011-09-28 18:43:44 PDT
Bug 68981
exposed that we had never checked overflow of the attribute value.
Attachments
Patch
(5.32 KB, patch)
2011-10-02 23:48 PDT
,
Kent Tamura
dbates
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2011-10-02 23:48:35 PDT
Created
attachment 109444
[details]
Patch
Daniel Bates
Comment 2
2011-10-16 05:33:34 PDT
Comment on
attachment 109444
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=109444&action=review
> LayoutTests/fast/dom/tabindex-defaults.html:11 > +<div id="console"></div> > + > +<div id=container>
Nit: This patch is inconsistent in its use of quotes around attribute values. I suggest picking one style for consistency. For example, on line 9 you put quotes around the attribute value of id, but on line 10 you don't. Similar inconsistencies can be seen in the rest of the HTML markup in this file.
> LayoutTests/fast/dom/tabindex-defaults.html:31 > +var anchor = document.getElementById('a1'); > +var button = document.getElementById('b1'); > +var input = document.getElementById('i1'); > +var select = document.getElementById('s1'); > +var textarea = document.getElementById('t1'); > +var editableDiv = document.getElementById('e1'); > +var normalDiv = document.getElementById('u1');
This is fine as-is. For your consideration, I suggest renaming the ids of the elements to match these variable names. That is, rename "a1" to "anchor", rename "b1" to "button", and so forth.
Kent Tamura
Comment 3
2011-10-20 23:51:32 PDT
Committed
r98075
: <
http://trac.webkit.org/changeset/98075
>
Kent Tamura
Comment 4
2011-10-20 23:52:28 PDT
(In reply to
comment #2
)
> (From update of
attachment 109444
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=109444&action=review
Thank you for your comments. I update the patch for your comments, and landed it.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug