Bug 69056

Summary: Check behavior of tabindex attribute with a large number
Product: WebKit Reporter: Kent Tamura <tkent>
Component: Tools / TestsAssignee: Kent Tamura <tkent>
Status: RESOLVED FIXED    
Severity: Normal CC: dbates
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 68981    
Bug Blocks:    
Attachments:
Description Flags
Patch dbates: review+

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+
Kent Tamura
Comment 1 2011-10-02 23:48:35 PDT
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
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.