Re: Javascript features list

2016-02-21 Thread Chris Young
On Sat, 20 Feb 2016 00:41:08 +0100, Ole Loots wrote:

> Am Freitag, den 19.02.2016, 20:11 + schrieb Peter Slegg:
> 
> > I am looking at a survey form and wondered if buttons should work ?
> 
> 
> When I testet JS builds for Atari three weeks ago, onclick for buttons
> worked well.

It's interesting that it does appear to work on buttons, but not on
 links.

Chris



Re: Javascript features list

2016-02-20 Thread Peter Slegg
>Date: Sat, 20 Feb 2016 00:41:08 +0100
>From: Ole Loots <o...@monochrom.net>
>Subject: Re: Javascript features list
>Am Freitag, den 19.02.2016, 20:11 + schrieb Peter Slegg:
>
>> I am looking at a survey form and wondered if buttons should work ?
>
>
>When I tested JS builds for Atari three weeks ago, onclick for buttons
>worked well. What does the verbose log say? And what do you expect?
>
>The code inside the onclick attribute seems to disable the button when
>validation fails. But I guess the rendering engine does not deal with
>such dynamic changes right now. Maybe there is also an exception... the
>log will tell you more.
>
>Greets,
>Ole

Hi Ole,

When I click on the button:

(2332.005000) atari/rootwin.c:176 handle_event: rootwin MU_BUTTON input, x: 
674, y: 674

(2332.010003) render/html.c:89 fire_dom_event: Dispatching 'click' against 
0x1d21f0c
(2336.24) atari/gui.c:153 atari_poll: WM: 30


I am expecting NS to go to the next page to begin the survey.

Peter






Re: Javascript features list

2016-02-19 Thread Ole Loots
Am Freitag, den 19.02.2016, 20:11 + schrieb Peter Slegg:

> I am looking at a survey form and wondered if buttons should work ?


When I testet JS builds for Atari three weeks ago, onclick for buttons
worked well. What does the verbose log say? And what do you expect? 

The code inside the onclick attribute seems to disable the button when
validation fails. But I guess the rendering engine does not deal with
such dynamic changes right now. Maybe there is also an exception... the
log will tell you more. 

Greets,
Ole




Re: Javascript features list

2016-02-19 Thread Michael Drake

On 19/02/16 20:11, Peter Slegg wrote:


Is there a maintained list of available JS features ?


The closest is this:

http://git.netsurf-browser.org/netsurf.git/tree/Docs/UnimplementedJavascript.txt

--
Michael Drake  http://www.netsurf-browser.org/



Javascript features list

2016-02-19 Thread Peter Slegg

Is there a maintained list of available JS features ?
I found this http://wiki.netsurf-browser.org/Development_Plan
but it looks a bit out of date and I found some circular references
on http://www.netsurf-browser.org/documentation/info.html#JavaScript


I am looking at a survey form and wondered if buttons should work ?


The code in question is: