Witold Filipczyk
b9428b846c
[assert] document.characterSet
2024-04-12 16:53:26 +02:00
Witold Filipczyk
d696ca2f96
[assert] document.body.id
2024-04-12 16:49:16 +02:00
Witold Filipczyk
6059ad2211
[assert] element.attributes
2024-04-12 16:45:36 +02:00
Witold Filipczyk
4aee3a3717
[assert] document.anchors
2024-04-12 16:42:15 +02:00
Witold Filipczyk
ca3cc5b214
[assert] document.baseURI
2024-04-12 16:37:47 +02:00
Witold Filipczyk
da14bf16cd
[assert] document.body.children
2024-04-12 16:31:49 +02:00
Witold Filipczyk
1435c2da92
[assert] element.appendChild
2024-04-12 16:27:11 +02:00
Witold Filipczyk
5f74bdd539
[assert] element.id
2024-04-12 16:17:22 +02:00
Witold Filipczyk
298d4cb206
[assert] Begin
2024-04-12 16:02:38 +02:00
Witold Filipczyk
6adca27072
[test] Added command line option --test
...
If --test 1, then elinks is headless. Display is /dev/null.
console.exit(0); or console.exit(1);
terminates elinks session.
console.exit is implemented for spidermonkey only.
2024-04-11 18:58:07 +02:00
Witold Filipczyk
4190613ed2
[spidermonkey] console.assert
2024-04-11 17:27:15 +02:00
Witold Filipczyk
a9b8dca965
[spidermonkey] window.event
2023-09-21 17:38:56 +02:00
Witold Filipczyk
c7cf135844
[test] Page for element.style (getter)
2023-09-19 17:30:06 +02:00
Witold Filipczyk
8ad10015f2
[ecmascript] Changes related to events (ontest.html)
2023-05-05 13:23:35 +02:00
Witold Filipczyk
8533a537d6
[test] libdom requires name parameter for anchors
2023-04-04 16:47:17 +02:00
Witold Filipczyk
cb8f7c8423
[test] innerText is not supported yet
2023-04-04 14:47:30 +02:00
Witold Filipczyk
2ed5c926aa
[test] bare alert is not functional yet
2023-01-26 18:12:46 +01:00
Witold Filipczyk
dae3d1cdc4
[test] 1 One 2 Two 3 Three
...
Now is:
1
2
3
One
Two
Three
but ought to be:
1
One
2
Two
3
Three
2022-12-28 19:38:19 +01:00
Witold Filipczyk
f5ada6b75b
[mujs] element.getElementsByTagName
2022-12-21 15:47:41 +01:00
Witold Filipczyk
7a1c315522
[js] test case for getElementsByTagName
2022-12-21 15:33:07 +01:00
Witold Filipczyk
df28d4345b
[ecmascript] Random fixes
2022-11-20 18:09:53 +01:00
Witold Filipczyk
865f3fa0d0
[ecmascript] Rewritten document.write
...
spidermonkey segfaults on test/ecmascript/document_write.html
quickjs and mujs do not.
2022-11-19 19:24:15 +01:00
Witold Filipczyk
7d8e92703b
Merge branch 'master' into write
2022-11-18 16:45:00 +01:00
Witold Filipczyk
72aa206ff7
[spidermonkey] replaceWith
...
It does not work without assignment in test case, but small progress.
2022-11-17 21:03:13 +01:00
Witold Filipczyk
0bb9593041
[test] replaceWith testscase
2022-11-17 18:41:40 +01:00
Witold Filipczyk
71174f6ddf
[test] Another testcase.
...
Only date must be displayed, without other tags.
2022-11-14 20:19:55 +01:00
Witold Filipczyk
0823d1b64e
[test] testcase for document.write.
...
Date must be displayed in the middle of the page. Between 1 and 2.
2022-11-14 17:09:45 +01:00
Witold Filipczyk
b67ac8926a
[mujs] KeyboardEvent
2022-11-11 19:20:24 +01:00
Witold Filipczyk
c5569ccb27
[ecmascript] Implemented keyboardEvent in spidermonkey code.
...
It does not work well yet.
2022-11-09 19:21:16 +01:00
Witold Filipczyk
56ab960cce
[ecmascript] Added keydown and keyup code for eventListeners.
...
TODO: KeyEvent (keycode etc.)
2022-11-08 19:43:01 +01:00
Witold Filipczyk
d7f4f94a62
[click] Added eventListener. It works for these two test cases.
2022-11-07 20:59:19 +01:00
Witold Filipczyk
3330427738
[ecmascript] onkeyup and onkeydown
2022-11-03 19:30:57 +01:00
Witold Filipczyk
9b895b3681
[test] onkeydown.html
2022-11-03 18:51:00 +01:00
Witold Filipczyk
feca5c4b80
[xhr] Added bool option ecmascript.allow_xhr_file
2022-10-31 20:25:32 +01:00
Witold Filipczyk
924ffc6eae
[test] test case for ajax taken from w3schools
2022-09-08 17:11:29 +02:00
Witold Filipczyk
6a7d8ba7bc
[test] test for 2 setTimeout at the same time
2022-09-07 18:33:45 +02:00
Witold Filipczyk
96c145cc78
[test] Updated description.
2022-08-31 15:04:03 +02:00
Witold Filipczyk
e139426613
[test] Changed description
2022-08-30 16:07:14 +02:00
Witold Filipczyk
a825024f5e
[js] compatibility with mujs in arithmetics.html
2022-08-25 22:15:28 +02:00
Witold Filipczyk
a59ca3fb26
[mujs] localStorage
2022-08-07 17:47:21 +02:00
Witold Filipczyk
8ec96e4f90
[quickjs] Fixes in querySelector
2021-12-17 15:24:55 +01:00
Witold Filipczyk
65a091ee1a
[test] Example more believeable
2021-12-17 14:12:44 +01:00
Witold Filipczyk
e3e7c2cf1a
[ecmascript] querySelector2 example from MDN
2021-12-15 17:53:52 +01:00
Witold Filipczyk
adddbf53fb
[quickjs] clearTimeout
2021-12-01 19:27:50 +01:00
Witold Filipczyk
2e466eaf6a
[quickjs] Element.closest
2021-12-01 16:36:01 +01:00
Witold Filipczyk
17a68b0cfd
[quickjs] element.matches
...
Also change querySelector and querySelectorAll.
They search from current node, not root.
2021-11-27 19:27:30 +01:00
Witold Filipczyk
38060fea51
[quickjs] scroll2.html works
2021-11-12 21:53:31 +01:00
Witold Filipczyk
28b8154aff
[test] alert -> window.alert for easier testing
2021-11-10 18:05:35 +01:00
Witold Filipczyk
edb71b8262
[quickjs[ fixes in getDoctype
2021-11-10 17:33:59 +01:00
Witold Filipczyk
10bfe65e05
[quickjs] remember elements nodes in map.
...
title.html example works
2021-11-09 18:44:12 +01:00
Witold Filipczyk
63f2415c5c
[quickjs] location
2021-10-22 16:10:40 +02:00
Witold Filipczyk
46953a35bd
[quickjs] history
2021-10-21 17:17:26 +02:00
Witold Filipczyk
e73e66ffea
[quickjs] navigator
2021-10-20 20:00:19 +02:00
Witold Filipczyk
c2d1e2667a
[quickjs] unibar
...
I don't know yet how to use JS_GetOpaque and JS_SetOpaque.
2021-10-19 20:49:53 +02:00
Witold Filipczyk
2e26484cca
[quickjs] screen
2021-10-18 19:34:11 +02:00
Witold Filipczyk
d6ff5fc0c2
[querySelectorAll] Fixes for empty result
2021-10-14 14:09:56 +02:00
Witold Filipczyk
408f644b4c
[querySelector] Added to element
2021-10-04 19:47:56 +02:00
Witold Filipczyk
cafabeffa8
[test] testcase for querySelectorAll
2021-10-04 15:31:51 +02:00
Witold Filipczyk
1618038dc3
[querySelector] implementation of querySelector
2021-10-04 15:28:26 +02:00
Witold Filipczyk
4e61b886bb
[test] location.toString() -> location.href
2021-09-18 10:42:35 +02:00
Witold Filipczyk
686e83afaa
[js] getAttribute
2021-09-08 10:41:36 +02:00
Witold Filipczyk
8154169711
[test] document_write2.html copied from w3schools
2021-08-16 21:56:33 +02:00
Witold Filipczyk
e1fbc48d9a
[scroll] This time scroll3 is tolerable.
2021-07-17 19:03:51 +02:00
Witold Filipczyk
fa49422f88
[document] Programming by coincidence.
...
scroll3 works, width.html works, accesskey still does not
2021-06-27 13:01:19 +02:00
Witold Filipczyk
c3330e4452
[js] test commit. Scroll version 3
2021-06-14 21:29:22 +02:00
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