Commit graph

1439 commits

Author SHA1 Message Date
scottjehl
ce7ff992d6 Merge branch 'docs' of https://github.com/ehynds/jquery-mobile into ehynds-docs 2010-12-23 09:20:17 -05:00
John Bender
fa760da3bd docs updated with information about the slider keys 2010-12-22 23:53:44 -08:00
John Bender
39f4749257 added tests for home and end keys 2010-12-22 23:31:53 -08:00
John Bender
b2d58c1f30 slider keypress tests, comments, and style addition to navigation test page 2010-12-22 23:18:14 -08:00
John Bender
39729becd6 standard keyboard interaction working with slider, tests to come 2010-12-22 22:40:54 -08:00
John Bender
8ec3ae594d added keyCodes, Home and End working for range slider 2010-12-22 16:30:55 -08:00
ehynds
cc0d982c5e documentation for multiple select functionality and list icon theming.
also fixed a CSS specificity bug where the display:block declaration on .ui-li was overriding the display:none declaration for the placeholder class.
2010-12-22 18:11:01 -05:00
Kin Blas
171065a5e1 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2010-12-22 09:59:45 -08:00
Kin Blas
43eeddd1bb Sync up form settings with scrollview defaults.
Fixed a few markup errors.
2010-12-22 09:58:40 -08:00
scottjehl
fd821b7440 Merge branch 'select_multi' of https://github.com/ehynds/jquery-mobile into ehynds-select_multi 2010-12-22 10:05:40 -05:00
John Bender
5a7377d6d1 spurious character removed from navigation markup 2010-12-16 19:20:34 -08:00
John Bender
b8babd1003 removed console log and added test for default transition 2010-12-16 19:12:58 -08:00
John Bender
8e30a3dc8a corrected tests message output 2010-12-16 18:27:49 -08:00
John Bender
1497e605d3 test fixes and addition for proper back transitions 2010-12-16 18:26:35 -08:00
John Bender
7ffec259c5 added tests for explicit transition on back 2010-12-16 18:21:46 -08:00
John Bender
67aed1320b prefer explicit transition even when the url is popped of the stack Fixes #627 2010-12-16 18:20:17 -08:00
John Bender
9e21bb9924 small test corrections 2010-12-16 18:20:17 -08:00
Kin Blas
5961818bb3 Fixed a couple of spots that had the following invalid markup:
<pre></code>
2010-12-16 11:15:43 -08:00
Kin Blas
ecf3e8a1f9 Merge remote branch 'origin/master' 2010-12-16 11:11:42 -08:00
Kin Blas
49c9db9c49 Turning on delayedClick by default. <again>
Added triggers for mousedown and mouse up in the delayed case because some of hte jqm components register handlers on those events to set the component states.

Note that the focus() trigger is commented out temporarily. It seems to cause the content within the scrollview clip to scroll to the point where item being focused sits in the flow .. unfortunately this screws up the rendering because we are using CSS3 translate, so the item clicked on is out of view.

Modified sv-test-02.html so that the clone event sets the target property on the fake event.
2010-12-16 11:04:48 -08:00
jzaefferer
b41cfce3cc Also .gitignore combine folder created by Ant build 2010-12-16 10:47:18 +01:00
jzaefferer
b18f3fa4a7 Updated to latest QUnit 2010-12-16 10:38:35 +01: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
Kin Blas
8351f5496b Turn off delayedClickEnabled by default for now. We need to work out some kinks.
Modified sv-test-02.html so that you can dynamically turn on/off the delayedClick behavior.
2010-12-15 11:13:31 -08:00
Kin Blas
58506aeef4 Added code to defer the generation of a "click" event for form elements within a scrollview. This seems to keep form elements working on Android.
Added strict comparisons for strings as pointed out by jonathan in my previous checkin.
2010-12-15 08:06:07 -08:00
jzaefferer
2a66572dca Fixed reference to jquery.ui.position.js in Ant build, now (more) consistent with Makefile 2010-12-15 16:18:39 +01:00
jzaefferer
e70c17d625 Extend nested listviews to accept more then just the title in parent list item. Currently requires predefined anchor to be present, based on discussion in ticket. Extended lists-nested.html to test both variants. Fixes #253 - only text nodes allowed in nested listview 2010-12-15 15:54:13 +01:00
Kin Blas
aa1f94a81f Added support for scrolling via scrollTop/scrollLeft.
Modified sv-test-02.html so that you can dynamically switch the scrolling method used. This will allow us to test the performance of different methods on the different platforms.

Modified scrollview.js so that you can specify @data-scroll-method="translate|position|scroll".
2010-12-14 16:05:52 -08:00
John Bender
39e5e75ca1 fixed test descriptions 2010-12-14 00:11:02 -08:00
John Bender
5114995865 notes on test fixture oddities 2010-12-14 00:05:29 -08:00
John Bender
54ea95a3d8 added negative test case for perspective transition and simple case for transitioning class 2010-12-14 00:05:29 -08:00
Kin Blas
22d4f4f687 Removing some debug code I accidentally commited. 2010-12-13 15:34:19 -08:00
Kin Blas
1b06d3dd32 Changed page title. 2010-12-13 15:22:39 -08:00
Kin Blas
d31f92a649 Modified index so that all tests launch externally so they can pick up the CSS and JS that is specific to that test.
Added a couple of tests that will help us figure out what events need to be handled special to disable native view port scrolling, and what events are necessary for form elements to function properly.
2010-12-13 14:20:14 -08:00
John Bender
56cb1bce38 test replaced with TODO issues with page transition 2010-12-13 10:41:16 -08:00
John Bender
95ef08b269 perspective class only added on flip page transition or any transition added to the perspectiveTransitions local var in the transitionPages function Fixes #568 2010-12-13 02:21:40 -08:00
John Bender
c1ba429a9c added ui-btn:visited color white, Fixes #618 2010-12-12 00:41:42 -08:00
scottjehl
9420083a7b quick update to set the base.href back to the starting path, just in case, as some browsers may retain the base href after the element is removed from the DOM. Explained better here: b2add677f0 2010-12-11 13:50:07 -05:00
John Bender
7e0cdbef5e small whitespace correction 2010-12-11 00:56:56 -08:00
John Bender
6f8aada084 orientation support tests for native vs resize 2010-12-11 00:39:27 -08:00
John Bender
7f51d4fcf5 added test for scroll prevention on swipe and move swipe movehandler prevention 2010-12-10 23:59:18 -08:00
Kin Blas
e72809ca49 Added links to tests so folks don't have to type them manually. 2010-12-10 16:07:58 -08:00
Kin Blas
3062199ac6 Some tweaks to kptdobe's patch from:
https://github.com/jquery/jquery-mobile/pull/649

  - Changed hideOnTouchEnabed to touchToggleEnabled.
  - Fixed problem that would allow the toolbars to show on touchstop, if the starting state was "inline" to begin with.
  - Moved the touchToggleEnabled checks in touchstart/touchstop so that they wrap the entire code in the function. We don't want to do any work if we don't need to.
  - Removed the forced hide() call in touchstart.

Added the missing fadeout animation reference inthe fade.in transition rule.
2010-12-10 10:17:16 -08:00
kptdobe
9c3762978e Allow to disable headers hide on touch behavior 2010-12-09 15:02:45 +01:00
John Bender
553b58567f added protection for nested links to ui-bar selector with tests 2010-12-09 00:16:48 -08:00
John Bender
fc2a405d21 added swipe distance threshold tests and fixed the taphold async test 2010-12-09 00:05:41 -08:00
John Bender
970f46c5e0 header and footer links will now remain unstyled, Fixes #524 2010-12-08 22:16:45 -08:00
ehynds
c982b93794 fixed a bug in single selects where clicking on a selected option would un-select it. this logic should only apply to multiple selects. 2010-12-08 15:45:23 -05:00
Kin Blas
4882c068b0 Modified loadComplete() so that it always fires off the "show" event. The idea here is that calling preventDefault() on a "hide" event shouldn't prevent the "show" event from being dispatched. Calling preventDefault() on the "show" event still prevents the "to" page from becoming the active page.
Removed redundant target delcaration in the <a> live click callback.
2010-12-08 12:40:21 -08:00
ehynds
1d2ef4f606 removed console.log statement 2010-12-08 09:43:24 -05:00