aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/hiddenVisibleSelectors.js
Commit message (Collapse)AuthorAgeFilesLines
* Core: Use named exports in `src/`Michał Gołębiowski-Owczarek2023-09-121-1/+1
| | | | | | | | | The `default` export is treated differently across tooling when transpiled to CommonJS - tools differ on whether `module.exports` represents the full module object or just its default export. Switch `src/` modules to named exports for tooling consistency. Fixes gh-5262 Closes gh-5292
* Core: Migrate from AMD to ES modules 🎉Michał Gołębiowski-Owczarek2019-11-181-7/+2
| | | | | | | | | | | | | | | | | | | | | | Migrate all source AMD modules to ECMAScript modules. The final bundle is compiled by a custom build process that uses Rollup under the hood. Test files themselves are still loaded via RequireJS as that has to work in IE 11. Tests can now be run in "Load as modules" mode which replaces the previous "Load with AMD" option. That option of running tests doesn't work in IE and Edge as it requires support for dynamic imports. Some of the changes required by the migration: * check `typeof` of `noGlobal` instead of using the variable directly as it's not available when modules are used * change the nonce module to be an object as ECMASscript module exports are immutable * remove some unused exports * import `./core/parseHTML.js` directly in `jquery.js` so that it's not being cut out when the `ajax` module is excluded in a custom compilation Closes gh-4541
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-251-0/+2
| | | | Fixes gh-3073
* Selector: filters -> pseudosTimmy Willison2016-03-071-3/+3
| | | | | Fixes gh-2073 Close gh-2969
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-2/+2
| | | | Fixes gh-2056
* CSS: fix :visible/:hidden selectors for inline element w/ contentTimmy Willison2015-05-121-4/+2
| | | | | | | | | | | - 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
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-11-031-3/+1
| | | | | | | | 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-1/+3
| | | | | | | - Note: this is a breaking change that has been delayed for several versions. Fixes #10406 Fixes #13132
* Fix #10814. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-061-0/+15