iPhone support

5 views
Skip to first unread message

RobG

unread,
Aug 14, 2008, 7:50:04 AM8/14/08
to Fork JavaScript
I've been running through the FORK 0.1 tests on iPhone, here's the
results:

AJAX: all OK
AJAX Rails: all OK
Cookie: all OK
DOM: all OK
Drag: isSupported - true
drag tests - fail, no support for touch events
handles - fail, no support for touch events
multiple - fail, no support for touch events, no alt key on iPhone
square donut - fail, no support for touch events
Extend: OK
Event: isSupported - true
Simple - can't test, mouseover not supported by iPhone, need touch
equivalent
Scoped - can't test, as above
Legacy - can't test, as above
Purge - can't test, as above
Unload - OK
Location - OK
JSON: all OK
Mutate: all OK (get HTML error: style element not allowed inside div)
Scroll: all OK
Style: all OK
Rails plugin: all OK


Posted here so others can comment on tests if they have done so on
iPhone.

Note that I haven't done any development using the library, I've just
run the tests so the above might be a bit trivial.


--
Rob





Peter Michaux

unread,
Aug 14, 2008, 10:43:43 PM8/14/08
to forkjav...@googlegroups.com
Hi Rob,

On Thu, Aug 14, 2008 at 4:50 AM, RobG <rg...@iinet.net.au> wrote:
>
> I've been running through the FORK 0.1 tests on iPhone, here's the
> results:

[snip]

Thanks for posting the results! It is good to know only the mouse
events caused the apparent problems.

I need to find a friend with an iphone so I can fiddle with one sometime.

Peter

RobG

unread,
Aug 17, 2008, 7:49:59 PM8/17/08
to Fork JavaScript


On Aug 15, 12:43 pm, "Peter Michaux" <petermich...@gmail.com> wrote:
> Hi Rob,
>
> On Thu, Aug 14, 2008 at 4:50 AM, RobG <rg...@iinet.net.au> wrote:
>
> > I've been running through the FORK 0.1 tests on iPhone, here's the
> > results:
>
> [snip]
>
> Thanks for posting the results! It is good to know only the mouse
> events caused the apparent problems.

I've been playing with dispatchEvent, Mobile Safari does support mouse
events, it's just that there's no mouse to make them happen! I can
post some code to detect support for touch events if you like so for
the Fork tests that use mouseover/out buttons can be optionally added
to simulate mouse events. The same code could be used to run all the
tests in compliant browsers.

I'll post the detection code at clj first, guys like Martin Honnen
usually provide great assistance with things like that.


--
Rob

Peter Michaux

unread,
Aug 17, 2008, 7:57:35 PM8/17/08
to forkjav...@googlegroups.com

Great! I'll look for that discussion.

Peter

Reply all
Reply to author
Forward
0 new messages