--- Christopher Allen <email@hidden> wrote:
> On 7/13/07, Oleg Kobchenko <email@hidden> wrote:
> >
> > I have a few JavaScript and DOM on Safari related questions.
>
> If your questions are iPhone related, I recommend the www.iPhoneWebDev.com.
Christopher and Alexey, thank you. These are good resources
and I will use them, too. Though I was hoping to find an
iPhone development forum close or endorced by Apple with a
chance that Apple developers/support having a look at it.
So in this respect, this one is the closest, I guess.
So here's my list: it's a boundary between bug and feature.
One one them definitely crashes Sarafi and will also be
submitted as a bug report. What I am looking for is possibility
of immediate workaround, and if it's a bug any chances it
is going to be fixed.
* Positioning cursor in TEXTAREA is erratic.
Neither of the two methods work:
1) tx.selectionStart = tx.selectionEnd = pos;
2) tx.setSelectionRange(pos, pos);
In fact, internally the position changes,
as further typing does not produce characters,
and reading back tx.selectionStart returns the updated
position; however the blinking carret remains on
the old place.
This works fine in Desktop Safari 3.0.2 beta.
* Setting focus does not enter editing mode.
When focus is set programmatically, tx.focus(),
the editing mode is not entered: no hightlight
and no keyboard popping up.
* After updating TEXTAREA value and cursor position
inside onKeyPress event and letting the event return
(event.returnValue=true;return true;), Safari on iPhone crashes.
If someone is willing to trace these behaviors,
I can provide code that reproduces this.
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden
This email sent to email@hidden