Bug Tracker

Changes between Version 1 and Version 2 of Ticket #7182, comment 4


Ignore:
Timestamp:
Oct 14, 2010, 6:28:38 AM (10 years ago)
Author:
jitter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7182, comment 4

    v1 v2  
    66The bug doesn't exists for the `disabled` attribute in any browser I tested.
    77
    8 But for the `readonly` attribute the `$("input[readonly]:first")` call fails in all browsers tested (except IE6) this leads me to believe that this is Sizzle issue where the evaluation fails if `elem[ name ]` on Line 3277 jQuery-1.4.2.js returns undefined although the DOM property is set but `elem.getAttribute( name )` returns the empty string as no value for the attribute is specified.
     8But for the `readonly` attribute the `$("input[readonly]:first")` call fails in all browsers tested (except IE6).
     9
     10This leads me to believe that this is Sizzle issue where the evaluation fails if `elem[ name ]` (the DOM attribute) on Line 3277 jQuery-1.4.2.js returns undefined although the HTML attribute is set and `elem.getAttribute( name )` returns the empty string (correctly) as no value for the attribute is specified.
    911
    1012I think this needs further investigation