Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21106, comment 16


Ignore:
Timestamp:
09/03/2012 12:37:21 AM (12 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21106, comment 16

    initial v1  
    1717 > Because `:checkbox` is a jQuery extension and not part of the CSS specification, queries using `:checkbox` cannot take advantage of the performance boost provided by the native DOM `querySelectorAll()` method. For better performance in modern browsers, use `[type="checkbox"]` instead.
    1818
    19 [attachment:21106.2.patch] fixes the stack overflow in IE and the lagging in both Firefox and IE. It should cover all the existing core usage of those class names.
     19[attachment:21106.2.patch] fixes the stack overflow in IE and the lagging in both Firefox and IE. It should cover all the existing core usage of those class names. Tested in 3.4.1 (with jQuery 1.7) as well.
    2020
    2121[attachment:21106.3.patch] binds all three non-form functions to both `a` and `input` elements, in case plugins might rely on that. Seems is a little bit slower, but perhaps safer. Not sure if that's necessary though.