aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #11857. Modularize css.js, add dependency management. Closes gh-816.Mike Sherov2012-06-101-10/+15
| | | | See the pull request for more info on the dependency management details.
* Modularize offset (exclude w/ grunt build:*:*:-offset). Closes #813. Fixes ↵Mike Sherov2012-06-071-25/+36
| | | | #11865
* Fix busted tests that relied on width in 2nd param to jQuery(), dimensions ↵Rick Waldron2012-06-051-7/+17
| | | | | | stays modular. (core, attributes, offset) Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Adjust the return type for the tabindex attribute tests to be a string. ↵timmywil2012-05-301-13/+13
| | | | | | Recomment a tabindex test since FF12's QSA includes video elements that don't have a tabindex attribute. Related: https://bugzilla.mozilla.org/show_bug.cgi?id=618737
* Remove the tabindex attrHook. Fixes #8473timmywil2012-05-301-19/+19
|
* Add quick-start documentation for testing with QUnit and using jQuery's ↵timmywil2012-05-291-2/+13
| | | | helper methods.
* Fix some stragglersYehuda Katz2012-04-151-14/+9
|
* Remove Ajax requirement for simple XML testsYehuda Katz2012-04-151-12/+7
| | | | | | | | | | | | Previously, all jQuery tests that wanted an XML document would make an Ajax request to go through jQuery's XML parsing logic in jQuery.ajax. Now, use jQuery.parseXML instead. This removes the need for the Ajax server for these tests, improves their performance, and decouples simple core tests from Ajax. (with scottgonzalez)
* Fix 11547. XML and IE DOM can't be force-lowercase in removeAttr().Arne de Bree2012-04-101-0/+13
| | | | See discussion on pull request: https://github.com/jquery/jquery/pull/724
* Do not set boolean attributes to empty string on removal. Fixes #10870. +0 ↵timmywil2012-03-051-1/+4
| | | | bytes compressed
* Fixes #10828, .attr("coords") returns undefined in IE7Mike Sherov2012-03-021-0/+13
|
* Fix #5571. Setters should treat `undefined` as a no-op and be chainable.Richard Gibson2011-12-061-1/+7
|
* Landing pull request 600. Remove jQuery.trim() to restore perf. Supplements ↵Rick Waldron2011-11-141-15/+2
| | | | | | | | #10773. More Details: - https://github.com/jquery/jquery/pull/600 - http://bugs.jquery.com/ticket/10773
* Fix #10773. Improve parameter handling in removeAttr.Oleg2011-11-141-22/+35
|
* Fix #10691. Remove all instances of equals() and same(), as these are ↵Mike Sherov2011-11-061-193/+193
| | | | deprecated in QUnit.
* Support setting both the enctype attribute and property (encoding in IE6/7). ↵timmywil2011-10-221-17/+29
| | | | Fixes #6743.
* Use the property name in elem.removeAttribute in IE6/7 to ensure correct ↵timmywil2011-10-171-3/+5
| | | | removals. Fixes #10514.
* Add a hook for removing contenteditable in IE6/7 and remove the unnecessary ↵timmywil2011-10-061-9/+11
| | | | jQuery.attrFix. Fixes #10429.
* Landing pull request 492. 1.7 Remove multiple attributes (Symmetry with ↵Rick Waldron2011-09-191-0/+22
| | | | | | | | removeClass) Combines patches submitted by leeoniya, zertosh and my own tests. Fixes #5479. More Details: - https://github.com/jquery/jquery/pull/492 - http://bugs.jquery.com/ticket/5479
* Add sparse array performance improvement for inArray. Thanks rwaldron, ↵timmywil2011-09-191-1/+1
| | | | rkatic, and jdalton
* Check for property support in the boolHook before falling back to attribute ↵timmywil2011-09-191-8/+12
| | | | node. Fixes #10278.
* Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, ↵timmywil2011-09-191-7/+8
| | | | | | #9261, #9570, #10178. Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
* Revert back to always setting the attribute to empty string before removal. ↵timmywil2011-08-251-8/+9
| | | | Fixes #9699.
* Fixes assertion counts and dom element fixture issueRick Waldron2011-08-051-14/+14
|
* Now using getAttributeNode in all attribute cases in IE6/7, which normalizes ↵timmywil2011-08-041-23/+22
| | | | attribute behaviors across browsers, is less hacky, and shortens the attribute code. Fixes #9980.
* Make the tabIndex hook first a propHook and add it to attrHooks for ↵timmywil2011-08-041-0/+55
| | | | back-compat reasons. Fixes #9979.
* Merge pull request #419 from rwldrn/9630Dave Methvin2011-08-041-0/+10
|\ | | | | Unit tests assert that .contents().hasClass() works as expected. Fixes #9630
| * Filter hasClass by nodeType 1; Fixes #9630rwldrn2011-06-221-1/+1
| |
| * Assert that .contents().hasClass() works as expected. Fixes #9630rwldrn2011-06-211-0/+10
| |
* | Check the attribute node value for false for HTML5 booleans when not ↵timmywil2011-07-091-8/+15
|/ | | | supported. Fixes #9504.
* Allow similarly named classes (regression from 9499) and switch class ↵timmywil2011-06-191-4/+11
| | | | retrieval to property when passing class to value functions. Fixes #9617.
* Attribute hooks do not need to be attached in XML docs. Fixes #9568.timmywil2011-06-131-3/+4
|
* Check classes passed for duplicates. Fixes #9499.timmywil2011-06-071-2/+11
|
* Landing pull request 382. Adds support for number values (meter,progress); ↵rwldrn2011-05-201-0/+24
| | | | | | | | Fixes #9319. More Details: - https://github.com/jquery/jquery/pull/382 - http://bugs.jquery.com/ticket/9319
* Handle unset value attributes consistently depending on property existence. ↵timmywil2011-05-181-1/+3
| | | | Supplements #9328.
* Make the value hook less obtrusive for elements which do not inherently have ↵timmywil2011-05-181-1/+2
| | | | a value property. Fixes #9328.
* Switched title attribute to getAttributeNode for IE6/7. Fixes #9329.timmywil2011-05-181-4/+6
|
* Use getAttributeNode for ^on attributes in IE6/7 to avoid anonymous function ↵timmywil2011-05-161-2/+5
| | | | wrapper. Fixes #9298.
* Retrieve the class attribute on a form in IE6/7. Fixes 9286.timmywil2011-05-141-1/+4
|
* Make sure setting boolean attributes to the same name sets the property to a ↵timmywil2011-05-131-1/+6
| | | | boolean type
* Use prop to retrieve boolean properties (so the selected hook will be used)timmywil2011-05-131-1/+7
|
* Add fallback to prop for the window and document. Switch value to use the ↵timmywil2011-05-101-16/+20
| | | | property instead of the attribute for back compat.
* Remove value check from formHook; other elements can use value hooktimmywil2011-05-071-1/+3
|
* Set val before hide/show check and fix easing setting; also update ↵timmywil2011-05-071-3/+7
| | | | | | attributes test for autofocus - The object passed should not change so it can be used in future animates, updated src and tests accordingly.
* Reduce the boolean list only to those that have corresponding IDLs that ↵timmywil2011-05-071-1/+1
| | | | | | don't require being added to propFix; only set the IDL if it exists - See http://jsfiddle.net/timmywil/u5NLn/ for how boolean attributes are handled in every browser.
* Check empty string instead of specified as specified is inconsistent on the ↵timmywil2011-05-061-1/+3
| | | | name attribute. Fixes #9148.
* Add support for the contenteditable attributetimmywil2011-05-051-2/+6
|
* Set the property corresponding to a boolean attribute when setting to true. ↵timmywil2011-05-041-1/+2
| | | | | | Fixes #9103. - Once boolean properties had been modified natively, setting the attribute no longer set the current value
* Set corresponding property to false when removing boolean attributes. Fixes ↵timmywil2011-05-041-1/+6
| | | | #9094
* Update boolean check to avoid crashes, add all name fixes to propFix ↵timmywil2011-05-041-50/+75
| | | | (properties are case-sensitive in all browsers), add tests for prop