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

343 Commits

Author SHA1 Message Date
Witold Filipczyk
face74fd38 [spidermonkey] element.matches 2024-05-05 19:54:12 +02:00
Witold Filipczyk
3128c22c2e [assert] element.querySelector 2024-05-05 19:22:44 +02:00
Witold Filipczyk
cc718c30b5 [spidermonkey] document.querySelector
It passes test case.
2024-05-05 16:58:10 +02:00
Witold Filipczyk
be67094940 [assert] document.querySelector 2024-05-05 13:28:56 +02:00
Witold Filipczyk
6b5ed8fa51 [assert] URL.html 2024-04-29 16:17:22 +02:00
Witold Filipczyk
6f371d6002 [doctype] systemId.html 2024-04-28 16:19:32 +02:00
Witold Filipczyk
7f087ee615 [assert] element.setAttribute 2024-04-28 16:13:54 +02:00
Witold Filipczyk
960586056c [assert] doctype.publicId 2024-04-28 16:06:53 +02:00
Witold Filipczyk
06822e11fc [assert] element.previousSibling 2024-04-28 16:03:00 +02:00
Witold Filipczyk
38fbd53795 [assert] element.previousElementSibling 2024-04-28 15:59:52 +02:00
Witold Filipczyk
62562daf19 [assert] element.parentNode 2024-04-28 15:54:49 +02:00
Witold Filipczyk
6bcd06ce38 [assert] element.parentElement 2024-04-28 15:51:48 +02:00
Witold Filipczyk
fbec5b7c64 [assert] element.nodeValue 2024-04-28 15:47:30 +02:00
Witold Filipczyk
4ea40aeb81 [assert] element.nodeType 2024-04-28 15:43:41 +02:00
Witold Filipczyk
41069ca172 [assert] element.nodeName 2024-04-28 15:40:38 +02:00
Witold Filipczyk
9d599dcafb [assert] element.nextSibling 2024-04-28 15:37:02 +02:00
Witold Filipczyk
d18b5e3730 [assert] element.nextElementSibling 2024-04-28 15:33:30 +02:00
Witold Filipczyk
9ad12aacfb [assert] navigator.appCodeName 2024-04-28 15:29:17 +02:00
Witold Filipczyk
33db9eacf2 [assert] element.namedItem (failed) 2024-04-12 21:39:11 +02:00
Witold Filipczyk
236bfb5964 [assert] element.matches (failed) 2024-04-12 21:27:06 +02:00
Witold Filipczyk
61362206c7 [assert] document.links 2024-04-12 21:19:40 +02:00
Witold Filipczyk
766f33da17 [assert] element.lastElementChild 2024-04-12 21:16:22 +02:00
Witold Filipczyk
4b108f43a6 [assert] element.lastChild 2024-04-12 21:12:49 +02:00
Witold Filipczyk
b161c71bec [assert] element.lang 2024-04-12 21:09:20 +02:00
Witold Filipczyk
01c29b3d42 [assert] element.isSameNode 2024-04-12 21:05:08 +02:00
Witold Filipczyk
7a66c9ff27 [assert] element.isEqualNode
There is issue with different permutation of attributtes.
2024-04-12 21:01:15 +02:00
Witold Filipczyk
86b767864b [assert] element.insertBefore 2024-04-12 20:49:57 +02:00
Witold Filipczyk
84ce531210 [assert] element.innerHTML.html 2024-04-12 20:44:25 +02:00
Witold Filipczyk
4128945063 [assert] document.images 2024-04-12 20:36:00 +02:00
Witold Filipczyk
eaeee7e849 [assert] document.head (failed) 2024-04-12 20:32:59 +02:00
Witold Filipczyk
6313f8302e [assert] element.hasChildNodes 2024-04-12 20:26:42 +02:00
Witold Filipczyk
daadb89a33 [assert] element.hasAttributes 2024-04-12 20:23:17 +02:00
Witold Filipczyk
fc5f10c48e [assert] element.hasAttribute 2024-04-12 20:19:14 +02:00
Witold Filipczyk
7c920847cb [assert] document.getElementsByTagName 2024-04-12 20:14:53 +02:00
Witold Filipczyk
706b6e9d12 [assert] document.getElementsByName (failed) 2024-04-12 20:09:56 +02:00
Witold Filipczyk
9080bf4dac [assert] document.getElementsByClassName (failed) 2024-04-12 20:00:24 +02:00
Witold Filipczyk
78dcb125ea [assert] element.getAttributeNode 2024-04-12 19:51:50 +02:00
Witold Filipczyk
58129c4396 [assert] element.getAttribute 2024-04-12 19:48:13 +02:00
Witold Filipczyk
9c75225871 [assert] element.firstElementChild 2024-04-12 19:43:35 +02:00
Witold Filipczyk
370c9d90c5 [assert] element.firstChild 2024-04-12 19:39:45 +02:00
Witold Filipczyk
59612be1f8 [assert] element.getElementsByTagName 2024-04-12 19:35:38 +02:00
Witold Filipczyk
e32c69f05f [assert] document.domain 2024-04-12 19:31:32 +02:00
Witold Filipczyk
351aa1fce7 [assert] document.documentURI 2024-04-12 19:28:26 +02:00
Witold Filipczyk
305664eaf9 [assert] document.documentElement 2024-04-12 19:23:49 +02:00
Witold Filipczyk
1445d613c6 [assert] document.doctype 2024-04-12 19:18:08 +02:00
Witold Filipczyk
317361d63b [assert] element.dir.html 2024-04-12 19:15:20 +02:00
Witold Filipczyk
839a1493ac [assert] element.contains.html 2024-04-12 17:36:10 +02:00
Witold Filipczyk
1b1b34e0d7 [assert] element.closest (Failed) 2024-04-12 17:29:46 +02:00
Witold Filipczyk
0ec3a68148 [assert] element.cloneNode 2024-04-12 17:19:28 +02:00
Witold Filipczyk
442f119ffd [assert] element.className 2024-04-12 17:11:25 +02:00
Witold Filipczyk
974429611c [assert] document.body.childNodes 2024-04-12 17:06:39 +02:00
Witold Filipczyk
5f8898b2a2 [assert] element.childElementCount 2024-04-12 17:01:47 +02:00
Witold Filipczyk
274b832fa6 [assert] element.checked 2024-04-12 16:57:20 +02:00
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
80a33fd3ea [css] line-through 2023-08-25 20:53:26 +02:00
Witold Filipczyk
c9fd41588f [terminal] Strikethrough for <STRIKE> element 2023-08-25 20:10:54 +02:00
Witold Filipczyk
997bf59a3a [test] this file when viewed must gnerate temporary file with .svg extension. Refs #261 2023-08-21 14:40:22 +02:00
Witold Filipczyk
4305880128 [test] Rename bold2.html -> nobold.html 2023-07-20 09:24:33 +02:00
Witold Filipczyk
c39bd18b10 [test] b must not be bold. Refs #247 2023-07-20 09:01:46 +02:00
Witold Filipczyk
7cac2ed5c5 [test] Test html with spurious line breaks. Refs #248 2023-07-18 19:42:33 +02:00
Witold Filipczyk
de285144f0 [iframes] Still not functional
There are bugs.
For example:
- frames borders are drawn in wrong place
- iframes are not "relative" to the document, they are drawn in the same position of the screen
  even when scrolling.
- some elements of screen disappear when going back
- crashes
2023-06-10 17:57:28 +02:00
Witold Filipczyk
fb4d1c9a27 [iframe] Pass document->nlinks to iframe 2023-06-04 21:18:04 +02:00
Witold Filipczyk
2aa34e0f22 [iframe] do not reset current_link 2023-06-04 17:46:22 +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
ed86daabe0 [css] Added experimental libcss code (config option document.css.libcss)
Was not tested.
2023-02-28 18:38:33 +01: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