Commit Graph

278 Commits

Author SHA1 Message Date
Daniel Silverstone
39d967e94b Support for event getters 2015-10-31 22:59:42 +01:00
Daniel Silverstone
47794b32ff Restore volatility introduced in fd9aa16ece 2015-10-31 22:59:41 +01:00
Daniel Silverstone
43f29e4311 Expose a few more bits 2015-10-31 20:11:10 +01:00
Michael Drake
c22706b904 Update duktape to regexp-canonicalize-lookup branch.
- Add an optional 128kB lookup to optimize regexp canonicalization #411.
  https://github.com/svaarala/duktape/pull/411

This speeds up worst-case case-insensitive unicode regex handling.
2015-10-31 17:51:57 +00:00
Daniel Silverstone
4ca737408c Handle events 2015-10-31 18:01:38 +01:00
Daniel Silverstone
00eb6a8e88 Further work toward event handling 2015-10-31 18:01:38 +01:00
Daniel Silverstone
5a107a466b Initial work toward JS event support 2015-10-31 18:01:38 +01:00
Michael Drake
78067fc29a Log window.alert() messages. 2015-10-31 09:23:56 +00:00
Michael Drake
0fabb20cc5 Add support for Element::removeAttribute. 2015-10-29 16:51:57 +00:00
Michael Drake
9198e80c24 Remove space. 2015-10-29 14:27:21 +00:00
Michael Drake
d795f1ca2d Add support for Element::setAttribute method.
This fixes test/js/dom-html-div-element.html test case.
2015-10-29 14:13:49 +00:00
Michael Drake
6098646e72 Add binding for DIV element's align getter/setter, and test.
Currently the second part of the test fails.
2015-10-29 11:47:53 +00:00
Vincent Sanders
8c04742e39 Use automatically generated unsigned long bindings on HTMLTableRowElement 2015-10-25 23:58:28 +00:00
Vincent Sanders
78daba6f3c Use automatically generated unsigned long bindings on HTMLTableCellElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
d7924a5849 add automaticaly generated property setter and getters to HTMLPreElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
3a67d34f69 Use automatically generated unsigned long bindings on HTMLLIElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
b07f4db579 Use automatically generated unsigned long bindings on HTMLInputElement 2015-10-25 23:23:25 +00:00
Daniel Silverstone
36bf691cee Add .id and .className support to Element along with a test 2015-10-25 21:47:35 +01:00
Vincent Sanders
4458b96ff2 Use automatically generated unsigned long bindings on HTMLImageElement 2015-10-25 09:17:41 +00:00
Vincent Sanders
dc0729150c add automaticaly generated property setter and getters to HTMLOListElement 2015-10-24 19:39:59 +01:00
Daniel Silverstone
c752c85618 Correct some incorrect error case handling and add tests to demonstrate fix 2015-10-21 18:55:39 +02:00
Daniel Silverstone
2f52338328 Fix up Element to return null rather than undefined, add tests 2015-10-21 18:46:43 +02:00
Daniel Silverstone
79068dd50f Support pushing NULL nodes, by pushing a JS 'null' object instead 2015-10-21 18:32:40 +02:00
Daniel Silverstone
629287c224 Revert "allow for libdom node calls which return NULL to indicate no node."
This reverts commit 37ea372a10.
2015-10-21 18:30:42 +02:00
Daniel Silverstone
0ddb60d82a Revert "The node acessors should return javacript null not an error"
This reverts commit 0645bc7570.
2015-10-21 18:30:36 +02:00
Vincent Sanders
0645bc7570 The node acessors should return javacript null not an error 2015-10-20 22:49:41 +01:00
Vincent Sanders
37ea372a10 allow for libdom node calls which return NULL to indicate no node. 2015-10-20 22:36:42 +01:00
Vincent Sanders
6d0d964cac Implement Document::documentElement binding 2015-10-18 11:06:41 +01:00
Vincent Sanders
eb17f4ab37 Implement basic browsing context name property 2015-10-18 10:53:49 +01:00
Vincent Sanders
9409bc2ad7 add automaticaly generated property setter and getters to HTMLTitleElement 2015-10-14 15:54:22 +01:00
Vincent Sanders
9666888f0c add automaticaly generated property setter and getters to HTMLTextAreaElement 2015-10-14 15:48:35 +01:00
Vincent Sanders
c7ca9ae819 add automaticaly generated property setter and getters to HTMLTableSectionElement 2015-10-14 15:39:45 +01:00
Vincent Sanders
f624e9f272 add automaticaly generated property setter and getters to HTMLTableRowElement 2015-10-14 15:36:43 +01:00
Vincent Sanders
3e6feede1f add automaticaly generated property setter and getters to HTMLTableElement 2015-10-14 15:15:42 +01:00
Vincent Sanders
0805bf2cd6 add automaticaly generated property setter and getters to HTMLTableColElement 2015-10-14 15:09:16 +01:00
Vincent Sanders
0d4105907d add automaticaly generated property setter and getters to HTMLTableCellElement 2015-10-14 14:46:31 +01:00
Vincent Sanders
47fb74ee88 add automaticaly generated property setter and getters to HTMLTableCaptionElement 2015-10-14 14:22:56 +01:00
Vincent Sanders
3bcc9922ee add automaticaly generated property setter and getters to HTMLStyleElement 2015-10-14 14:17:30 +01:00
Vincent Sanders
d676b64bec add automaticaly generated property setter and getters to HTMLSelectElement 2015-10-14 13:28:19 +01:00
Vincent Sanders
c1937ee617 add automaticaly generated property setter and getters to HTMLScriptElement 2015-10-14 13:20:28 +01:00
Vincent Sanders
4f843d3b6f add automaticaly generated property setter and getters to HTMLQuoteElement 2015-10-14 12:51:35 +01:00
Vincent Sanders
02fb81009e add automaticaly generated property setter and getters to HTMLParamhElement 2015-10-14 09:21:26 +01:00
Vincent Sanders
b516854d0a add automaticaly generated property setter and getters to HTMLParagraphElement 2015-10-14 09:15:59 +01:00
Vincent Sanders
2b71eef763 add automaticaly generated property setter and getters to HTMLOptionElement 2015-10-14 09:09:41 +01:00
Vincent Sanders
079667ee6c add automaticaly generated property setter and getters to HTMLObjectElement 2015-10-13 23:36:01 +01:00
Vincent Sanders
2f129cdef7 add automaticaly generated property setter and getters to HTMLMenuElement 2015-10-13 23:31:52 +01:00
Vincent Sanders
b667375dcc add automaticaly generated property setter and getters to HTMLMetaElement 2015-10-13 23:28:35 +01:00
Vincent Sanders
94a740c7c1 split out html marquee element support
libdom does not support this element at all so there are currently no
automatic implementations defined.
2015-10-13 23:24:37 +01:00
Vincent Sanders
d57dec2454 add automaticaly generated property setter and getters to HTMLMapElement 2015-10-13 23:20:50 +01:00
Vincent Sanders
5fdf040e90 add automaticaly generated property setter and getters to HTMLLinkElement 2015-10-13 23:17:05 +01:00