Commit Graph

26 Commits

Author SHA1 Message Date
Joshua Clayton 9c02a20461 Fix logic for maxlength attribute on input nodes and add tests.
Closes #131
2011-08-25 13:37:19 -04:00
Matthew Mongeau 63e5a53c01 implement node#selected? 2011-07-29 11:42:58 -04:00
Matthew Mongeau 983b556fa8 Support maxlength 2011-07-29 11:41:13 -04:00
Matthew Mongeau c621e651c9 Support Textareas#value 2011-07-29 11:41:13 -04:00
Hubert Łępicki a4490083b6 allow uploading files with forms 2011-07-19 00:28:09 +02:00
Vasily Reys 465e5edb12 Trigger change event on checkbox and radio button when checked state is changed 2011-06-14 09:48:23 -04:00
Vasily Reys 4e73aec414 Reading "disabled" property through Node#disabled? and Node#[] methods 2011-05-24 21:20:16 -04:00
John Barker c369389b5e Send keypresses to text inputs as though as user has actually interacted with a form 2011-05-24 21:05:35 -04:00
Jeremy 7df0f230ae Fix for #26, select options with selected and trigger change 2011-05-24 20:54:11 -04:00
Yuichi Tateno b1d4fc0b24 passed all javascript driver specs 2011-05-03 18:12:33 -04:00
Joe Ferris 6c247a0669 Trigger correct input events for checkbox/radio elements 2011-03-11 12:23:50 -05:00
Joe Ferris 2abf19516a Use getComputedStyle to detect elements hidden in stylesheets 2011-03-09 23:50:21 -05:00
Joe Ferris 2a699d89c0 Trigger input events when filling in form fields 2011-03-09 19:04:41 -05:00
Jason Morrison fa3c6eddb4 Select and unselect options 2011-02-26 17:52:30 -05:00
Joe Ferris 69ef4e73dc Implemented Node#find 2011-02-26 16:46:59 -05:00
Jason Morrison ab135128c7 Set a node's value 2011-02-26 16:27:52 -05:00
Jason Morrison 0efe272d24 Return a textarea's value 2011-02-26 16:27:39 -05:00
Joe Ferris 66432b6817 Implemented Node#visible? 2011-02-26 16:20:05 -05:00
Joe Ferris c7edb27d65 Implemented Node#trigger 2011-02-26 15:50:45 -05:00
Joe Ferris c9d1bffe51 Implemented Node#click 2011-02-26 15:18:57 -05:00
Jason Morrison b9ecd40191 Node#tag_name should return lower case 2011-02-26 15:04:34 -05:00
Jason Morrison ba3f0b1a18 Fetch a node's tag name 2011-02-26 14:56:27 -05:00
Joe Ferris 63366bf614 Implemented Node#text; refactored Node commands so that they can be easily added in Javascript 2011-02-25 23:39:29 -05:00
Joe Ferris 18d424803d Invoke Javascript functions by setting QObjects on the window object instead of string evals so that strings don't need to be escaped 2011-02-25 22:57:55 -05:00
Joe Ferris 879eeba471 Return node index list from Javascript as string instead of list so we don't have to join it in C++ 2011-02-25 22:33:47 -05:00
Joe Ferris 54d7df3c4c Moved Javascript code into a .js file that gets loaded into each page 2011-02-25 22:32:22 -05:00