1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

194 Commits

Author SHA1 Message Date
Witold Filipczyk
b4c3c6f171 [js] Improved innerHTML. It accepts html now, not only xhtml. 2021-06-08 16:13:09 +02:00
Witold Filipczyk
e674a7c9d1 [js] element.childNodes 2021-06-07 16:34:53 +02:00
Witold Filipczyk
70a9e53a36 [js] element.children
innerHTML does not accept non-xhtml
2021-06-07 15:41:28 +02:00
Witold Filipczyk
4e651e5391 [js] Improved setter for innerHTML 2021-06-06 15:23:21 +02:00
Witold Filipczyk
80c1c7a278 [js] element.insertBefore 2021-06-04 19:41:06 +02:00
Witold Filipczyk
040ab5a189 [js] title setter 2021-06-03 14:05:00 +02:00
Witold Filipczyk
4270cb3125 [js] lang setter 2021-06-03 14:01:54 +02:00
Witold Filipczyk
fc60848d64 [js] dir setter 2021-06-03 13:51:59 +02:00
Witold Filipczyk
7a65feb323 [js] className setter 2021-06-03 13:44:57 +02:00
Witold Filipczyk
5de45a9e96 [js] innerHTML (setter) 2021-06-03 11:59:15 +02:00
Witold Filipczyk
07fccc9f87 [js] element.setAttribute 2021-06-02 18:26:05 +02:00
Witold Filipczyk
4b5d115039 [js] element.appendChild 2021-06-01 21:00:21 +02:00
Witold Filipczyk
f625d74673 [js] element.remove 2021-06-01 17:24:34 +02:00
Witold Filipczyk
fb90f2a832 [js] screen.height (term->height * 16) 2021-05-31 14:27:40 +02:00
Witold Filipczyk
54a7bd7339 [js] screen.width 2021-05-30 12:58:19 +02:00
Witold Filipczyk
719f484422 [js] screen.availWidth (box.width * 8) 2021-05-29 13:42:34 +02:00
Witold Filipczyk
10d731f10c [js] screen.availHeight (here it is 16 * box.height) 2021-05-28 17:51:42 +02:00
Witold Filipczyk
8b2ef1ef45 [js] publicId 2021-05-27 16:16:10 +02:00
Witold Filipczyk
207534f3e0 [js] doctype.systemId 2021-05-26 08:22:33 +02:00
Witold Filipczyk
35404925e0 [js] document.doctype.name 2021-05-25 18:12:04 +02:00
Witold Filipczyk
97e1e86e66 [js] document.URL (written uppercase) 2021-05-25 16:55:04 +02:00
Witold Filipczyk
9a0b89e189 [js] document.documentURI 2021-05-25 15:58:15 +02:00
Witold Filipczyk
ed8bff2b82 [js] document.baseURI 2021-05-25 12:22:52 +02:00
Witold Filipczyk
c5b2706354 [js] document.domain 2021-05-24 21:55:57 +02:00
Witold Filipczyk
28127b29b4 [js] Try to rewrite htmlCollection get_property. 2021-05-21 20:46:27 +02:00
Witold Filipczyk
c5a1296200 [js] element.isEqualNode (only for Elements) 2021-05-20 16:44:57 +02:00
Witold Filipczyk
1af9c9fc31 [js] element.ownerDocument 2021-05-19 19:05:03 +02:00
Witold Filipczyk
835d42e892 [js] element.nodeValue 2021-05-18 18:36:01 +02:00
Witold Filipczyk
54f902e72a [js] element.nodeName 2021-05-18 18:13:01 +02:00
Witold Filipczyk
e230acf2ab [js] element.nodeType 2021-05-18 16:21:02 +02:00
Witold Filipczyk
3e8186922d [js] element.isSameNode 2021-05-17 17:25:50 +02:00
Witold Filipczyk
0a395d7dbf [js] hasChildNodes 2021-05-16 19:26:24 +02:00
Witold Filipczyk
22acacb47b [js] element.parentElement 2021-05-16 15:56:02 +02:00
Witold Filipczyk
47c694d7d1 [js] element.parentNode 2021-05-16 15:49:38 +02:00
Witold Filipczyk
ed449aee6e [js] element.previousElementSibling 2021-05-16 15:42:01 +02:00
Witold Filipczyk
e4eaca040d [js] element.previousSibling 2021-05-16 15:38:15 +02:00
Witold Filipczyk
6baba00aab [js] element.nextElementSibling 2021-05-16 15:33:19 +02:00
Witold Filipczyk
30c5bdfa1b [js] element.nextSibling 2021-05-16 15:12:13 +02:00
Witold Filipczyk
760dff4419 [js] element.contains 2021-05-15 20:50:03 +02:00
Witold Filipczyk
09988b7fcd [js] element.getAttributeNode 2021-05-14 21:49:56 +02:00
Witold Filipczyk
5c5621aadd [js] document.attributes 2021-05-13 17:41:18 +02:00
Witold Filipczyk
c71b0f2ee1 [js] document.scripts 2021-05-12 20:05:15 +02:00
Witold Filipczyk
35d7847808 [js] document.images 2021-05-12 20:01:08 +02:00
Witold Filipczyk
22cd7a0052 [js] document.links 2021-05-12 17:37:01 +02:00
Witold Filipczyk
ed3a11b288 [js] document.head 2021-05-12 17:28:03 +02:00
Witold Filipczyk
51fe9d1968 [js] document.documentElement 2021-05-12 17:22:34 +02:00
Witold Filipczyk
937b77cfdf [js] document.body 2021-05-12 17:16:10 +02:00
Witold Filipczyk
8e97e8b048 [js] document.anchors 2021-05-12 17:08:05 +02:00
Witold Filipczyk
799f256157 [js] getElementsByClassName 2021-05-12 16:30:36 +02:00
Witold Filipczyk
d22e77a796 [js] getElementsByTagName
TODO: sanitize input for this function
2021-05-12 16:23:46 +02:00
Witold Filipczyk
3e30d82fb4 [js] jsGetElementsByName 2021-05-11 19:02:54 +02:00
Witold Filipczyk
a8e27fc730 [js] lastElementChild 2021-05-10 19:14:39 +02:00
Witold Filipczyk
39c0e7679d [js] firstElementChild 2021-05-10 19:08:36 +02:00
Witold Filipczyk
6798ffc8b0 [js] lastChild 2021-05-09 21:53:14 +02:00
Witold Filipczyk
8c7517189d [js] firstChild 2021-05-09 21:38:23 +02:00
Witold Filipczyk
e020f83d34 [js] innerHTML and outerHTML getters (libxml++) 2021-05-09 21:21:24 +02:00
Witold Filipczyk
471c9282ee [js] childElementCount 2021-05-08 21:51:34 +02:00
Witold Filipczyk
d9073ea9b1 [js] hasAttributes 2021-05-08 19:55:58 +02:00
Witold Filipczyk
0bdbb6aca6 [js] element.hasAttribute(...) 2021-05-07 19:03:53 +02:00
Witold Filipczyk
745387e386 [js] location.hash getter 2021-05-06 16:06:37 +02:00
Witold Filipczyk
955a259f5d [js] location.host getter 2021-05-06 15:53:20 +02:00
Witold Filipczyk
4c4ea4bdd9 [js] location.hostname getter 2021-05-06 15:46:39 +02:00
Witold Filipczyk
7c618d3a6f [js] location.origin 2021-05-06 15:40:17 +02:00
Witold Filipczyk
d5f63e6fca [js] location.pathname getter 2021-05-06 15:31:31 +02:00
Witold Filipczyk
9de0a934ff [js] location.search getter 2021-05-06 15:17:46 +02:00
Witold Filipczyk
07dba347ac [js] location.port getter 2021-05-06 15:06:35 +02:00
Witold Filipczyk
b07d39364c [js] textContent (read) 2021-05-05 15:21:37 +02:00
Witold Filipczyk
9b738edb18 [js] location.protocol (read) 2021-05-04 20:55:06 +02:00
Witold Filipczyk
1e8f86628d [js] className (read) 2021-05-04 18:34:10 +02:00
Witold Filipczyk
b0ee34bdd5 [js] dir (read) 2021-05-04 16:24:56 +02:00
Witold Filipczyk
63b07c01d8 [js] tagName 2021-05-04 16:06:50 +02:00
Witold Filipczyk
adadc03821 [js] title (read) 2021-05-04 15:42:52 +02:00
Witold Filipczyk
cf5841b8de [js] outerHTML (read) 2021-05-04 15:32:29 +02:00
Witold Filipczyk
3bd33b9dd3 [js] innerHTML read property 2021-05-03 18:25:31 +02:00
Witold Filipczyk
63d892838c [getElementById] small success. see test/ecmascript/element.html
Now memory leaks, etc. are not taken into account.
For the beginning I will implement read properties.
2021-05-02 17:27:35 +02:00
nobody@earth.com
31ac8dd5d7 [smjs document replace] rewritten to struct string 2021-02-25 13:40:41 +01:00
nobody@earth.com
f953744189 [smjs document replace] fixed property location, replace and writeln functions, tests 2021-02-24 11:23:34 +01:00
nobody@earth.com
a19b95f20c [smjs local storage] spider monkey local storage 2021-02-22 23:27:19 +01:00
nobody@earth.com
c3e0e0f50d [smjs] Console log Cleanup 2021-02-22 01:52:56 +01:00
nobody@earth.com
c6a3d04e21 SpiderMonkey Update v0.1.a - Console Log 2021-02-21 22:33:29 +01:00
Witold Filipczyk
d1ecd45828 [mozjs52] It compiles, but often segfaults. No idea yet how to fix it. 2020-10-27 14:53:24 +01:00
Witold Filipczyk
a5b68a25a1 [mozjs45] Code is unstable, but at least compiles. 2020-10-23 22:34:58 +02:00
Witold Filipczyk
25dd2ecae9 Changed ecmascript engine to mozjs-17.0.
Was not tested, especially smjs is likely buggy.
2019-02-10 21:00:37 +01:00
Kalle Olavi Niemitalo
55f4307511 SEE compatibility in forms.namedItem.html. 2007-06-10 15:16:51 +03:00
Kalle Olavi Niemitalo
c9b2fbbd46 SMJS: Fix error "forms.namedItem is not a function".
Commit 63752c854b303f5f58636a512a137bf3702e051b on 2004-12-27
seems to have broken this.
2007-06-10 13:11:53 +03:00
Witold Filipczyk
31729c7c59 Test case for scroll. Scrolling currently only works with SEE.
TODO: window.status and SpiderMonkey setTimeout.
2006-10-23 23:08:14 +02:00
Kalle Olavi Niemitalo
1c0598d5ba ECMAScript: More accessKey tests. 2006-08-20 17:07:26 +03:00
Kalle Olavi Niemitalo
4a638c2e84 ECMAScript: Added a test for the accessKey property.
ELinks currently fails this test.
2006-08-20 12:15:57 +03:00
Witold Filipczyk
a558fe67b9 OnClick test 2006-04-30 16:56:40 +02:00
Miciah Dashiel Butler Masters
a464157d4d SEE & SMJS: document.write(ln): use all arguments
Additionally add a test to test/ecmascript/document_write.html.

Thanks to Kirk Reiser for observing that ELinks only printed the first.
2006-02-12 04:33:42 +00:00
7a6a5918fe Test file for document.write 2006-01-27 16:55:41 +01:00
witekfl
d8592e4f99 Alternative experimental ECMAScript engine. 2006-01-10 19:17:29 +01:00
Laurent MONIN
0fed31e6bd Add a file for script types testing. 2005-11-02 16:55:15 +01:00
Petr Baudis
0f6d4310ad Initial commit of the HEAD branch of the ELinks CVS repository, as of
Thu Sep 15 15:57:07 CEST 2005. The previous history can be added to this
by grafting.
2005-09-15 15:58:31 +02:00