Commit graph

23 commits

Author SHA1 Message Date
Jörn Zaefferer
0ed1460279 Add swarminject.js to prepare for TestSwarm integration 2011-10-04 15:02:17 -04:00
scottjehl
a93c4878aa removed media classes JS - deprecated since Beta 1. Use CSS3 Media Queries with a polyfill instead :) Docs are updated to link to old code in case anyone still needs a backwards-port 2011-09-29 14:47:05 -04:00
scottjehl
3afef99719 forgot to add a file to the unit test markup 2011-07-20 14:37:02 -04:00
scottjehl
c4491d279f fixed unit tests to use new orientationchange logic, which no longer binds to resize event. 2011-06-18 10:45:36 -04:00
scottjehl
8ba4c27300 Ya'll can scale your pages now. Fixes #1645. Note: we originally disabled user zooming to work around a bug in iOS that automatically zooms the page beyond the constraints of the viewport on orientation change. We are not working around this bug at all now, but you are free to include any meta tag you'd like, or better yet, consider this polyfill: http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/ 2011-05-17 17:28:19 -04:00
scottjehl
d97a964884 been meaning to do this for a while. 2011-04-14 16:04:47 -04:00
scottjehl
0d9627d54e Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags. 2011-03-14 00:20:23 -04:00
John Bender
089f2b9753 rewrapped the media core tests in an immediate function 2011-02-06 23:25:03 -08:00
John Bender
65513add72 fixed media core failing tests 2011-02-06 23:24:09 -08:00
jzaefferer
458a56839b Updated unit tests: Drop document-ready block, use #qunit-fixture instead of #main and drop extra styles now provided by QUnit. 2010-12-16 10:34:23 +01:00
John Bender
caf84f6663 moved module declaration to actual module files to be consistent with reload based tests 2010-11-23 21:08:12 +08:00
John Bender
370d745bf3 added tests for mobile.support, still working on mocking for property check on body styles 2010-11-23 05:04:34 +08:00
scottjehl
110b095eb5 fixed typo 2010-11-19 22:11:41 -05:00
John Bender
d0cca83be8 tests for default resolution break points, some missing semicolons, and element reference in each loop 2010-11-19 01:20:55 -08:00
John Bender
19cf97465c add tests for orientation change 2010-11-19 01:13:00 -08:00
John Bender
d9f94ea4cd started testing on document ready for media and removed unnecessary expects 2010-11-19 00:51:05 -08:00
John Bender
232926fb85 test for many class additions with many resolution breakpoints 2010-11-19 00:41:14 -08:00
John Bender
622eba46e6 alternate html tag class case for breakpoints 2010-11-19 00:38:41 -08:00
John Bender
e5f9028ea7 first media query break point class addition test 2010-11-19 00:34:44 -08:00
John Bender
8724132d16 small tweak to teardown and setup 2010-11-19 00:01:36 -08:00
John Bender
96d0973b6f added setup and teardown for stubbed methods, added module definition to widget core tests 2010-11-18 23:47:40 -08:00
John Bender
5f59a3908b added negative case for basic absolute position test 2010-11-18 23:38:54 -08:00
John Bender
319e3054cd added media core tests 2010-11-18 23:35:44 -08:00