aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/css.js
Commit message (Collapse)AuthorAgeFilesLines
* CSS: Do not throw on frame elements in FFOleg Gaidarenko2014-06-161-0/+23
| | | | | | | | | | | | | IE9-10 throws on elements created in popups (see #14150), FF meanwhile throws on frame elements through "defaultView.getComputedStyle" (see #15098) Use "defaultView" if in the popup which would fix IE issue, use "window.getComputedStyle" which would fix FF issue. And everybody wins, except performance, but who cares right? Fixes #15098 Ref e488d985cfb10ab8c684bbc6a9b8ff3eae23bf83
* Css: Use only positive integers as values for widows/orphansMichał Gołębiowski2014-04-181-8/+1
| | | | | | | | | | | According to http://www.w3.org/TR/CSS2/page.html#propdef-orphans, widows and orphans can take only positive integer values. Together with a Chrome 34 regression this caused the test to fail. (cherry-picked from def4841cfaf68e2ec156c554f8efa4aa64203f36) Fixes #15016 Closes gh-1563
* CSS: jQuery#hide should always save display valueOleg Gaidarenko2014-03-201-0/+10
| | | | | | | | | Fixes #14750 Closes gh-1509 (cherry picked from commit 5a8f76933288396b915800a18240aa17d3414201) Conflicts: src/css.js
* Css: Fix testsMichał Gołębiowski2014-03-101-6/+9
| | | | | | | | | It's not easy to find a CSS property that is implemented even in ancient browsers and that returns a consistent result among browsers when passed through .css(). color didn't work since Firefox normalizes it an empty value to rgb(0, 0, 0). (cherry-picked from 0c12cb3910c446960a274fb0eab11b8830bed71f)
* Css: Revert 24e587929f62428e1959b10aace6dc4fd65ab397Michał Gołębiowski2014-03-101-7/+20
| | | | | | | | | | | | | | The workaround to be able to change !important styles broke the browser keeping the old CSS value if the new one was rejected. Patching it would involve a significant perf hit (~33%) so the initial patch needs to be reverted instead. Tests by m_gol & gibson042. (cherry-picked from 10e654218a65ec9a0ffc875137cea945389c69f1) Fixes #14836 Closes gh-1532
* CSS: Return values should be numbersDave Methvin2014-03-041-1/+2
| | | | | Fixes #14792 (cherry picked from commit f4b37d89820535d6c7503925aa8872645681a865)
* Css: Don't check fill-opacity in Android 2.3, it's not supportedMichał Gołębiowski2014-02-131-1/+6
| | | | (cherry-picked from de75b3cc626829c3478a8a6d59dddc948d348b41)
* Docs: Add support comments for prefixed box-sizingMichał Gołębiowski2014-02-051-0/+1
|
* Tests: Avoid use of QUnit.reset() in tests by splitting themcjqed2014-01-031-4/+8
| | | | | Closes gh-1470 Ref #1457
* Fix #14394: Changing style !important in webkit. Close gh-1385.Lihan Li2013-10-151-0/+6
| | | | | | | | (cherry picked from commit 24e587929f62428e1959b10aace6dc4fd65ab397) Conflicts: src/css.js
* No ticket: Test cleanupRichard Gibson2013-10-151-21/+9
| | | | | | | | (cherry picked from commit 8df348e9eb3681ff5f09b1e52b72573e2eee3105) Conflicts: test/unit/css.js
* Fix #14432: Always return string from .css("z-index"). Close gh-1395.George Kats2013-10-151-0/+18
| | | | | | | | (cherry picked from commit 5ce4b06c285bd8cf52eaff0f39e0b9192a927873) Conflicts: src/css/curCSS.js
* Correct test assertion of #10227 ticket for IE8Oleg2013-09-171-7/+6
|
* Fix memory leaks in tests for css moduleOleg2013-09-171-1/+8
|
* Fix #12723 and simplification and optmization of defaultDisplay helperOleg2013-09-171-10/+14
| | | | (cherry picked from commit a25343001eea2436dcf8ea60deea3844f77e42e4)
* Fix #10814. Fix #14084. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-061-0/+8
|
* No ticket. Correct a support comment for the `order` test. (cherry-picked ↵Michał Gołębiowski2013-08-201-1/+1
| | | | from 2ac1cd91db5c20cbe8ba0db44f7640cd150060ee)
* No ticket. Correct a support comment. (cherry-picked from ↵Michał Gołębiowski2013-08-191-2/+2
| | | | f92a446ee8d6e98c43b87f185e73240fabec5ae4)
* Remove redundant prefixes from the CSS order test. (cherry-picked from ↵Michał Gołębiowski2013-08-191-11/+1
| | | | e3584179fe919c59033e54f019a1511691d2c85b)
* Correct assertion for #14049 ticket. Close gh-1327Oleg2013-08-101-5/+28
|
* Fixes #14049: don't append px to CSS order value. Close gh-1300. (cherry ↵Jason Merino2013-07-011-1/+4
| | | | picked from ec6eb38c64aadd6860c402cc0894c77b82b1a65d)
* Fix #13741. Make wrap/unwrap methods optional; close gh-1236.Michał Gołębiowski2013-04-171-1/+1
| | | | | | | move size() test to unit/deprecated; don't use size() in other tests; make 2 unit tests actually fire; code cleanup
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-40/+57
| | | | | | | | | | | | | | | | in tests. Fixes #13755. Conflicts: src/.jshintrc src/data.js test/unit/attributes.js test/unit/core.js test/unit/data.js test/unit/event.js test/unit/manipulation.js test/unit/queue.js test/unit/traversing.js test/unit/wrap.js
* Fix #13539: Utilize Sizzle hooks. Close gh-1215.Richard Gibson2013-04-041-2/+2
|
* No ticket: Revise unit tests in anticipation of Sizzle-free buildsRichard Gibson2013-02-221-5/+5
| | | | (cherry picked from commit 59f5adb622dd6bc3419bbaa9cc2d4acd7a0b08b9)
* Fix #13310. Get the right display value for disconnected nodes. Close gh-1155.Oleg2013-02-041-0/+23
|
* Again, magic fixing for previous commit.Timmy Willison2013-01-301-6/+6
|
* Fix failing tests, add support for empty spans in Opera. Supplements #13132, ↵Timmy Willison2013-01-211-1/+5
| | | | #10406.
* Treat elements as hidden when either offsetWidth OR offsetHeight is 0. Fixes ↵Timmy Willison2013-01-211-40/+43
| | | | #13132, #10406.
* Ref #8908. Update IE9 css clone fix. Close gh-1120.Oleg2013-01-081-2/+5
|
* Ref #8908, gh-886. Avoid clone identity crisis in IE9/10. Close gh-1036.Oleg2012-12-131-0/+77
|
* Fix #12990. Don't add 'px' to column-count. Close gh-1050.Bennett Sorbo2012-12-111-4/+13
|
* Fixes #11938: Adding array getter method to jQuery.fn.cssMike Sherov2012-12-111-0/+16
|
* Fix #12904: Firefox defaultDisplay with body/iframe display:none. Report and ↵Richard Gibson2012-12-081-17/+31
| | | | solution by @maranomynet; test by @rwldrn.
* No ticket: remove test suite external dependenciesRichard Gibson2012-11-011-1/+1
|
* Fix #12685. Handle inconsistent opacity for ie < 9. Close gh-1005.yiminghe2012-10-301-0/+16
|
* Fix #10416. Don't trust computed styles on detached elements. Close gh-941.Oleg2012-10-281-5/+15
|
* Adds missing expect() call, fixes failing IE testsRick Waldron2012-10-151-0/+1
|
* Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js ↵Rick Waldron2012-10-151-2/+2
| | | | QUnit configurations.
* Enforce expects in css.js (https://github.com/jquery/2012-dev-summit/issues/53)James Huston2012-10-151-0/+10
|
* fix failure from bad markup leaving an element behind. Closes gh-946Richard Gibson2012-10-051-1/+1
|
* body default display is always block. @mikesherov was right and this is the ↵Rick Waldron2012-10-041-0/+18
| | | | proof. Fixes #10227
* Fix #12537, element.css('filter') returns undefined in IE9. Close gh-942.Mike Sherov2012-09-301-0/+7
|
* Fix #12324, line-height "normal" isn't always "1". Close gh-898.Mike Sherov2012-08-191-2/+1
|
* Pull in unit tests from gh-877, thanks @orkel!Dave Methvin2012-07-251-5/+10
|
* Fix #12148. Let .toggle() call the public .hide() for punching.Dave Methvin2012-07-251-1/+12
| | | | There is a slightly shorter way to do this but it's not Closure-friendly.
* Fix #12088, Safari 5 and more percentages in getComputedStyleMike Sherov2012-07-221-0/+9
| | | | In particular, min-width and max-width are taunting the awesome hack. Closes gh-865.
* Make unit tests friendly to Closure Compiler. Closes gh-845.Chad Killingsworth2012-07-051-32/+32
| | | | | | Conflicts: test/unit/effects.js test/unit/offset.js
* UPDATE SIZZLE: completed rewrite for better things!timmywil2012-07-021-0/+3
| | | | Remove reverse in traversing for comma selectors. Sizzle's handling of commas is now more consistent.
* Unit tests are linted and passing.Rick Waldron2012-06-211-14/+16
|