aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/css.js
Commit message (Collapse)AuthorAgeFilesLines
* CSS: Add test for gh-2867Timmy Willison2016-01-271-0/+10
|
* CSS: Restore cascade-override behavior in .showRichard Gibson2016-01-131-22/+253
| | | | | | | Fixes gh-2654 Fixes gh-2308 Close gh-2810 Ref 86419b10bfa5e3b71a7d416288ab806d47a31d1f
* CSS: Add animation-iteration-count to cssNumber, fix testsJun Sun2016-01-071-4/+13
| | | | | Fixes gh-2792 Closes gh-2793
* Selector: pass jQuery unit tests with selector-nativeTimmy Willison2015-11-111-6/+2
| | | | | | | | | - Ignore certain tests that obviously are not supported - Beefed up the sortOrder, uniqueSort, isXMLDoc, and attr functions Fixes gh-1742 Fixes gh-2048 Close gh-2703
* CSS: Correct misrepresentation of "auto" horizontal margins as 0Richard Gibson2015-10-181-6/+20
| | | | | | | | | | | | Fixes gh-2237 Closes gh-2276 (cherry picked from commit 214e1634ab9b1d13d53647dd5de3bdf7a091d49c) Conflicts: src/css.js src/css/support.js test/unit/support.js
* CSS: Make show/hide/toggle methods a moduleDave Methvin2015-10-181-24/+33
| | | | | | | | Unit test changes some uses of .show() and .hide() to .css( "display", ... ), there was already an implicit assumption in several of the existing tests. Fixes gh-2193 Close gh-2648
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-081-78/+83
| | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-434/+440
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-284/+285
| | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Fixes gh-2540
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-6/+18
| | | | Closes gh-2507
* Docs: Fix various spelling mistakesBruno Pérel2015-07-301-1/+1
| | | | Closes gh-2487
* Core: Adjust comments & tests after dropping Safari 6 supportMichał Gołębiowski2015-07-271-1/+1
| | | | | | | | Support comments that mentioned only Safari < 7 were checked & updated to account for bugs existing in newer versions as well; Safari 6 support test results were removed. Refs gh-2482
* Build: Acknowledge Android 2.3 is not ES5-compatibleMichał Gołębiowski2015-07-201-1/+1
| | | | | | | | | | | Android 2.3 chokes on unquoted reserved words being used as property names which was making Deferred tests not run. Acknowledge the sad fact that Android 2.3 is not ES5-compliant browser and enable the "es3" option in JSHint config. Fixes gh-2478 Closes gh-2481
* CSS: Make .css("width") & .css("height") return fractional valuesMichał Gołębiowski2015-07-071-0/+45
| | | | | Fixes gh-1724 Closes gh-2439
* CSS: Don't cache unrecognized CSS property namesMichał Gołębiowski2015-06-011-0/+80
| | | | | | | | | | | | | | | | | This prevents jQuery from caching a prefixed property name if provided directly by the user, e.g. the following code: elem.css( "msTransform", "translate(5px, 2px)" ); should not prevent one from from later setting the transition directly: elem.css( "transform", "translate(5px, 2px)" ); on a browser not understanding the unprefixed version which is the case for Safari 8 & transform. Fixes gh-2015 Closes gh-2298
* Tests: fix tests in accordance with new :visible behaviorTimmy Willison2015-05-121-4/+6
|
* CSS: fix :visible/:hidden selectors for inline element w/ contentTimmy Willison2015-05-121-7/+13
| | | | | | | | | | | - Reverts behavior from 10399dd, which we never released. BR and inline elements are considered visible. - The possibility of dropping .offsetWidth and .offsetHeight was debunked by this perf: http://jsperf.com/visible-hidden-and-getclientrects Fixes gh-2227 Close gh-2281
* CSS: Ignore the CSS cascade in show()/hide()/etc.Richard Gibson2015-05-111-117/+58
| | | | | | Fixes gh-1767 Fixes gh-2071 Closes gh-2180
* Tests: Expand CSS relative adjustment tolerance for IERichard Gibson2015-03-161-2/+2
| | | | Ref 48be675200e817f40fa8ec25da1be2ab0839d28d
* Tests: Fix CSS relative adjustment test for round-down browsersRichard Gibson2015-03-161-7/+19
| | | | Ref 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17
* CSS: Support relative adjustment in any applicable unitMr212015-03-091-0/+52
| | | | | Fixes gh-1711 Closes gh-2011
* CSS: Add unit tests for negative margins and positioningAditya Raghavan2014-12-241-0/+15
| | | | Closes gh-1957
* Css: Remove non-functional unit test for negative marginDave Methvin2014-12-091-4/+1
| | | | | | | Thanks @MatthewMueller Closes gh-1474 Ref gh-1918
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-11-031-4/+2
| | | | | | | | That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Closes gh-1820 Refs gh-1815
* CSS: elements are hidden when either offsetWidth or offsetHeight is zeroTimmy Willison2014-07-171-10/+12
| | | | | | | - Note: this is a breaking change that has been delayed for several versions. Fixes #10406 Fixes #13132
* 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 Closes gh-1583
* 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. Fixes #15016 Closes gh-1563
* CSS: jQuery#hide should always save display valueOleg Gaidarenko2014-03-201-0/+10
| | | | | Fixes #14750 Closes gh-1509
* 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).
* 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. Fixes #14836 Closes gh-1532
* CSS: Return values should be numbersDave Methvin2014-03-041-1/+2
| | | | Fixes #14792
* Css: Don't check fill-opacity in Android 2.3, it's not supportedMichał Gołębiowski2014-02-131-1/+6
|
* Support: Document box-sizing was unprefixed in Firefox 29Michał Gołębiowski2014-02-051-1/+1
|
* Tests: Avoid use of QUnit.reset() in tests by splitting themcjqed2013-12-231-4/+9
| | | | | Fix #14040 Close gh-1457
* Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425.Michał Gołębiowski2013-11-111-26/+13
|
* Fix #14394: Changing style !important in webkit. Close gh-1385.Lihan Li2013-10-151-0/+6
|
* No ticket: Test cleanupRichard Gibson2013-10-151-21/+9
|
* Fix #14432: Always return string from .css("z-index"). Close gh-1395.George Kats2013-10-151-0/+18
|
* Fix #12723 and simplification and optmization of defaultDisplay helperOleg2013-09-171-10/+14
|
* Fix #10814. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-061-4/+7
|
* Fix #14084: attach the test div to documentElement, not body.Michał Gołębiowski2013-09-051-0/+5
|
* No ticket. Correct a support comment for the `order` test.Michał Gołębiowski2013-08-201-1/+1
|
* No ticket. Correct a support comment.Michał Gołębiowski2013-08-191-2/+2
|
* Remove redundant prefixes from the CSS order test.Michał Gołębiowski2013-08-191-11/+1
|
* Correct assertion for #14049 ticketOleg2013-08-101-5/+28
|
* Fixes #14049: don't append px to CSS order value. Close gh-1300.Jason Merino2013-07-011-1/+4
|
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-37/+54
| | | | in tests. Fixes #13755.
* Move size() test to deprecated.js and avoid in other tests. Close gh-1237.Michał Gołębiowski2013-04-081-1/+1
|
* Improve CSS and `Support:` comments. Close gh-1220.Michał Gołębiowski2013-04-061-1/+2
| | | | | | | | 1) corrected box-sizing rules order - the unprefixed value should always be the last one 2) removed last semi-colons in CSS rules 3) updated support comments code review changes + more consistent comment spacing
* Fix #13539: Utilize Sizzle hooks. Close gh-1215.Richard Gibson2013-04-051-2/+2
| | | | (cherry picked from commit 4ef516903e6e48bce388ca47c1ed88a447199fa1)