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

6800 Commits

Author SHA1 Message Date
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
7b2e8e7aca [mujs] document.dispatchEvent 2024-05-26 13:32:41 +02:00
Witold Filipczyk
488dc0a4aa [quickjs] dispatchEvent
There is an issue with ecmascript_heartbeat. Commented now.
2024-05-24 21:34:05 +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
44b743540e [ecmascript] keyboardEvent.target 2024-05-23 16:53:12 +02:00
Witold Filipczyk
6534c412c2 [ecmascript] customEvent.target getter 2024-05-23 16:39:43 +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
f5ecff0fd0 [xterm] check also for cases like screen.xterm-256color 2024-05-20 17:06:35 +02:00
Witold Filipczyk
9e4541a0b2 [ecmascript] Check NULL 2024-05-20 16:05:52 +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
4d79093742 [quickjs] JS_DupValue in some places. 2024-05-19 16:32:51 +02:00
Witold Filipczyk
1dad777d14 [quickjs] document rewritten a bit 2024-05-19 15:42:02 +02:00
Witold Filipczyk
888f06c74c [spidermoneky] dom_node_ref
There was error in element_finalize.
2024-05-19 13:37:16 +02:00
Witold Filipczyk
cb8a1c5698 [spidermonkey] Typo 2024-05-18 21:11:59 +02:00
Witold Filipczyk
c152c4aeae [spidermonkey] Added initDocument function 2024-05-18 21:09:14 +02:00
Witold Filipczyk
7885fb0797 [libdom] debug_dump_xhtml
Helper function which print current state of document, called
after modification of DOM tree.
2024-05-17 22:05:25 +02:00
Witold Filipczyk
5c92b4ee96 [libdom] Free keyboard and dom related strings 2024-05-12 18:52:27 +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
2b4dd0f7ba [mujs] Typo, but still not ok 2024-05-12 13:53:53 +02:00
Witold Filipczyk
ffcbc08d12 [mujs] KeyboardEvent.keyCode (ENTER only)
Something is broken.
2024-05-12 13:48:31 +02:00
Witold Filipczyk
e44821367c [quickjs] KeyboardEvent.keyCode (ENTER only) 2024-05-12 13:30:57 +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
4439f4e976 [spidermonkey] convert keyCode to dom_string 2024-05-12 12:11:26 +02:00
Witold Filipczyk
c45fa86605 [mujs] KeyboardEvent (libdom) 2024-05-11 14:24:27 +02:00
Witold Filipczyk
3e416135f1 [quickjs] KeyboardEvent (libdom) 2024-05-11 13:55:46 +02:00
Witold Filipczyk
078edf0966 [spideronkey] keyboardEvent.keyCode -> keyboardEvent.code 2024-05-11 13:45:18 +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
6b053637b3 [ecmascript] Explicit comparison with NULL. Refs #303 2024-05-10 14:44:16 +02:00
Witold Filipczyk
d529265f02 [mujs] CustomEvent (libdom) 2024-05-09 21:22:06 +02:00
Witold Filipczyk
fec5bd561d [quickjs] CustomEvent (libdom) 2024-05-09 20:50:01 +02:00
Witold Filipczyk
4932a689c8 [spidermonkey] CustomEvent (libdom) 2024-05-09 19:19:00 +02:00
Witold Filipczyk
b67d41bd82 [assert] customEvent.html 2024-05-09 18:35:32 +02:00
Witold Filipczyk
b9d266c52c [mujs] dom_string_unref 2024-05-09 17:32:46 +02:00
Witold Filipczyk
5779cd170b [mujs] Event (libdom) 2024-05-09 16:36:26 +02:00
Witold Filipczyk
1fc9cc8803 [quickjs] Event
libdom
2024-05-09 16:10:23 +02:00
Witold Filipczyk
ccf9fc2fed [spidermonkey] Event
This time libdom code.
2024-05-09 15:51:01 +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
58bf489719 [quickjs] element.outerHTML setter 2024-05-08 18:47:21 +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
ea2dbb05e2 [ecmascript] More add_lowercase_to_string 2024-05-08 15:37:00 +02:00
Witold Filipczyk
abc307e86b [libdom] Added add_lowercase_to_string
Replace uppercase with lowercase in tag names in html "rewrites"
2024-05-08 15:27:48 +02:00
Witold Filipczyk
a9ae51ae9f [mujs] nodelist.forEach passes test case 2024-05-07 19:33:34 +02:00
Witold Filipczyk
7748eb5ab9 [quickjs] Fix in url.c 2024-05-07 17:39:30 +02:00
Witold Filipczyk
948c22ea79 [quickjs] Do not FreeValue 2024-05-07 17:32:46 +02:00
Witold Filipczyk
786469da5f [quickjs] nodelist.forEach 2024-05-07 17:24:13 +02:00
Witold Filipczyk
3d92071eba [mujs] element.querySelectorAll 2024-05-07 16:51:29 +02:00