1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

320 Commits

Author SHA1 Message Date
Witold Filipczyk
5c3ab7781d [mujs] document.addEventListener fixes and sample html file 2024-05-29 16:37:14 +02:00
Witold Filipczyk
912f1f2fe5 [quickjs] element.dispatchEvent 2024-05-26 17:27:50 +02:00
Witold Filipczyk
ded0717a64 [spidermonkey] element.dispatchEvent 2024-05-26 16:30:57 +02:00
Witold Filipczyk
fadf4f48a9 [spidermonkey] dispatchEvent
event_handler is called twice, but better than none.
2024-05-24 18:23:25 +02:00
Witold Filipczyk
67deceb07a [ecmascript] Added event.target getters
It does not work, it is a bug in libdom (unintialised value).
2024-05-23 16:23:47 +02:00
Witold Filipczyk
8b1fa5e1ff [mujs] Code related to document "similar" to quickjs and spidermonkey
Also added prototypes for endsWith and startsWith.
2024-05-19 21:08:35 +02:00
Witold Filipczyk
8a2e85b73f [dom] keyCodes like in Firefox
KeyboardEvent.keyCode returns 0 in Firefox for test case.
I won't change the test, because elinks relies on libdom API.
2024-05-12 16:51:04 +02:00
Witold Filipczyk
20ab63c1d1 [spidermonkey] KeyboardEvent.keyCode (Enter only)
Only Enter is handled. Strings are not "finalized".
2024-05-12 13:17:15 +02:00
Witold Filipczyk
348bc937c0 [spidermonkey] KeyboardEvent (libdom)
It passes test, but there is a regression.
It will be addressed later.
2024-05-11 13:04:36 +02:00
Witold Filipczyk
fec5bd561d [quickjs] CustomEvent (libdom) 2024-05-09 20:50:01 +02:00
Witold Filipczyk
b67d41bd82 [assert] customEvent.html 2024-05-09 18:35:32 +02:00
Witold Filipczyk
6b98a79c1f [assert] event.html 2024-05-09 15:13:30 +02:00
Witold Filipczyk
16cbdc2501 [mujs] element.outerHTML setter 2024-05-08 18:57:11 +02:00
Witold Filipczyk
46a213ae49 [spidermonkey] element.outerHTML 2024-05-08 18:32:59 +02:00
Witold Filipczyk
b3b6f66c51 [assert] test case for outerHTML 2024-05-08 16:14:43 +02:00
Witold Filipczyk
e11b52b496 [assert] lowercase in some assertions for outerHTML and innerHTML 2024-05-08 15:57:56 +02:00
Witold Filipczyk
a9ae51ae9f [mujs] nodelist.forEach passes test case 2024-05-07 19:33:34 +02:00
Witold Filipczyk
786469da5f [quickjs] nodelist.forEach 2024-05-07 17:24:13 +02:00
Witold Filipczyk
786cbf9500 [mujs] element.matches 2024-05-07 16:36:02 +02:00
Witold Filipczyk
3c81545b81 [quickjs] element.closest 2024-05-06 21:22:16 +02:00
Witold Filipczyk
3406220379 [quickjs] element.matches
TODO forEach
2024-05-06 21:07:27 +02:00
Witold Filipczyk
8bba9f8c4e [spidermonkey] forEach and other Array methods for nodelist 2024-05-06 18:40:02 +02:00
Witold Filipczyk
48ff6810d4 [assert] element.querySelectorAll 2024-05-06 16:31:53 +02:00
Witold Filipczyk
bbe14cddc3 [spidermonkey] document.querySelectorAll 2024-05-06 16:22:18 +02:00
Witold Filipczyk
ecd7662d1a [assert] document.querySelectorAll 2024-05-06 14:56:53 +02:00
Witold Filipczyk
610eb4b450 [spidermonkey] Fixes for closest 2024-05-05 21:52:07 +02:00
Witold Filipczyk
09447c7812 [spidermonkey] element.closest
There is invalid free when selector is not matched.
2024-05-05 21:02:36 +02:00
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