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

6622 Commits

Author SHA1 Message Date
Witold Filipczyk
5841cd5c94 [mujs] for <body>, <html> or <div> clientWidth returns full width of window 2024-01-28 16:38:20 +01:00
Witold Filipczyk
84c0b4886b [spidermonkey] full width also for DIV element 2024-01-28 16:29:57 +01:00
Witold Filipczyk
4a94b6150e [spidermonkey] clientHeight and offsetHeight the same function
For <body> and <html> return height or width of screen.
2024-01-28 16:22:15 +01:00
Witold Filipczyk
330bfb7d29 [quickjs] window.innerWidth and innerHeight 2024-01-28 15:24:47 +01:00
Witold Filipczyk
3456d27b22 [mujs] window.innerHeight and innerWidth 2024-01-28 15:20:10 +01:00
Witold Filipczyk
c0a3bce766 [spidermonkey] window.{innerHeight,innerWidth} 2024-01-28 15:14:48 +01:00
Witold Filipczyk
7b3c450293 [quickjs] style.{height,left,top} 2024-01-28 14:27:55 +01:00
Witold Filipczyk
e66f142b7a [mujs] style.{height,left,top} 2024-01-28 14:22:07 +01:00
Witold Filipczyk
0c571b7a3c [spidermonkey] style.top 2024-01-27 21:00:39 +01:00
Witold Filipczyk
3c7b41894e [spidermonkey] style.left 2024-01-27 20:57:16 +01:00
Witold Filipczyk
2c8ffe31f9 [spidermonkey] style.height 2024-01-27 20:53:19 +01:00
Witold Filipczyk
73e507737a [spidermonkey] Return width or height of a single cell for not found elements
For clientHeight and similar.
2024-01-27 20:25:56 +01:00
Witold Filipczyk
1742e87854 [quickjs] offsetHeight and offsetWidth 2024-01-27 16:04:08 +01:00
Witold Filipczyk
8b35062e10 [mujs] offsetWidth and offsetHeight 2024-01-27 15:59:49 +01:00
Witold Filipczyk
8b3ece5b82 [spidermonkey] element.offsetHeight and element.offsetWidth
The same code as clientHeight and clientWidth accordingly.
2024-01-27 15:54:52 +01:00
Witold Filipczyk
224c198781 [quickjs] element.offsetTop 2024-01-27 15:31:39 +01:00
Witold Filipczyk
7c72d49f0c [mujs] element.offsetTop 2024-01-27 15:26:09 +01:00
Witold Filipczyk
317737fa34 [spidermonkey] element.offsetTop 2024-01-27 15:23:09 +01:00
Witold Filipczyk
7bccb89efb [spidermonkey] element.offsetLeft 2024-01-27 15:19:24 +01:00
Witold Filipczyk
8d597b1148 [quickjs] element.offsetLeft 2024-01-27 15:11:38 +01:00
Witold Filipczyk
21187f88c8 [mujs] element.offsetLeft 2024-01-27 15:04:30 +01:00
Witold Filipczyk
8ec6ca70fe [spidermonkey] element.offsetParent (parentNode) 2024-01-27 14:49:54 +01:00
Witold Filipczyk
b61c51ed43 [quickjs] element.offsetParent 2024-01-27 14:45:23 +01:00
Witold Filipczyk
62d21a222e [mujs] element.offsetParent
For now the same as parentNode.
2024-01-27 14:41:54 +01:00
Witold Filipczyk
8238393479 [spidermonkey] element.clientWidth 2024-01-27 14:20:29 +01:00
Witold Filipczyk
bc37d44d52 [quickjs] element.clientWidth 2024-01-27 14:16:48 +01:00
Witold Filipczyk
82dae118f0 [mujs] element.clientWidth 2024-01-27 14:16:34 +01:00
Witold Filipczyk
d8007fafaf [spidermonkey] element.clientHeight 2024-01-27 14:09:24 +01:00
Witold Filipczyk
2800597913 [quickjs] element.clientHeight 2024-01-27 14:02:13 +01:00
Witold Filipczyk
e4b4586780 [mujs] element.clientHeight 2024-01-27 13:54:07 +01:00
Witold Filipczyk
84660b694d [node] get_element -> get_element_rect 2024-01-27 13:53:24 +01:00
Witold Filipczyk
06ffcc8085 [spidermonkey] cell_width and cell_height in screen 2024-01-27 12:34:03 +01:00
Witold Filipczyk
89955cc13a [quickjs] cell_width and cell_height 2024-01-27 12:14:01 +01:00
Witold Filipczyk
bc13ff2e1a [mujs] cell_height and cell_width in screen instead of hardcoded 16 and 8. 2024-01-27 12:08:23 +01:00
Witold Filipczyk
c445444401 Merge branch 'master' into shellinabox 2024-01-27 09:11:50 +01:00
Witold Filipczyk
27c03014f7 [configure.ac] bashism. Refs #285 2024-01-27 09:08:00 +01:00
Witold Filipczyk
129683d70f [spidermonkey] element.clientLeft and element.clientTop 2024-01-26 21:31:13 +01:00
Witold Filipczyk
a72db310b4 [quickjs] element.clientLeft and element.clientTop 2024-01-26 21:24:13 +01:00
Witold Filipczyk
81c692e6b8 [mujs] element.clientLeft and element.clientTop
They always return 0.
2024-01-26 21:17:30 +01:00
Witold Filipczyk
9e743f0e80 [renderer] Reorder instructions 2024-01-26 19:02:26 +01:00
Witold Filipczyk
9e3d874577 [document] Added function scan document
This function must calculate dimensions of nodes in document.
Every node has a rectangle. x0,y0 is the left up corner, x1,y1 - the right bottom.
In theory every child of given node is contained in this rectangle.
2024-01-26 18:43:33 +01:00
Witold Filipczyk
5c8b62247a [screen] Test commit. Added element_offset to struct screen_char 2024-01-21 17:02:09 +01:00
Witold Filipczyk
937f6b415e [ecmascript] Changed declarations of ecmascript_timeout
Also free functions in quickjs version.
2024-01-20 15:56:23 +01:00
Witold Filipczyk
d34ae1371d [ecmascript] clearInterval and setInterval
Changed return type of ecmascript_set_timeout.
Now it is pointer to struct ecmascript_timeout.
2024-01-19 22:10:02 +01:00
Witold Filipczyk
e77ff5aa8b [quickjs] window.getComputedStyle 2024-01-19 17:17:11 +01:00
Witold Filipczyk
06858c1f70 Merge branch 'master' into shellinabox 2024-01-19 08:21:47 +01:00
rkd77
6800e96f72
Merge pull request #283 from Strahinja/master
po/sr.po: Update translation
2024-01-19 08:20:21 +01:00
Страхиња Радић
9684866136
po/sr.po: Update translation
Signed-off-by: Страхиња Радић <contact@strahinja.org>
2024-01-18 22:10:10 +01:00
Witold Filipczyk
dd87474f06 [mujs] window.getComputedStyle 2024-01-18 20:53:17 +01:00
Witold Filipczyk
797124fc2a [spidermonkey] window.getComputedStyle
It is fake, it returns "0" for "marginTop", "marginLeft" and "marginRight".
2024-01-18 18:41:20 +01:00