Karl Seguin
b76875bf5d
use netsurf's mousevent
2025-04-08 22:43:53 +08:00
Karl Seguin
0253de80de
Add a dumb renderer to get coordinates
...
FlatRenderer positions items on a single row, giving each a height and width of
1.
Added getBoundingClientRect to the DOMelement which, when requested for the
first time, will place the item in with the renderer.
The goal here is to give elements a fixed position and to make it easy to map
x,y coordinates onto an element. This should work, at least with puppeteer,
since it first requests the boundingClientRect before issuing a click.
2025-04-08 22:43:53 +08:00
Karl Seguin
2017d4785b
replace zig-async-io and std.http.Client with a custom HTTP client
2025-03-23 19:01:40 +08:00
Karl Seguin
21c9dde858
Zig 0.14 compatibility
2025-03-19 16:28:15 +01:00
Pierre Tachoire
8b22313ca1
netsurf: return empty string on null for node name
2025-02-10 09:31:09 +01:00
Pierre Tachoire
318e2bd1c6
dom: expose document.location
2025-01-27 12:33:05 +01:00
Pierre Tachoire
341f5725a4
netsurf: implement location setter/getter
2025-01-23 15:22:03 +01:00
Pierre Tachoire
b64f7d013d
node: implement node.compareDocumentPosition
2024-10-17 14:44:33 +02:00
Pierre Tachoire
95c0ff6f39
dom: implement currentScript
2024-09-24 10:01:13 +02:00
Pierre Tachoire
d8fe029f80
mutation: very partial childList implementation
2024-06-24 15:19:39 +02:00
Pierre Tachoire
c9cfb1ecba
dom: add attributeNS funcs
2024-06-24 15:19:39 +02:00
Pierre Tachoire
94e47f4f35
mutation: implement attribute and cdata observer
2024-06-24 15:19:38 +02:00
Pierre Tachoire
1924f136c6
events: create an EventHandlerData struct
...
It simplifies the EventHandlerFunc creation and allows to insert user's
data.
2024-06-21 09:20:03 +02:00
Pierre Tachoire
9cdf1f5762
xhr: fix unit tests for 0.12.1
2024-06-18 16:13:34 +02:00
Pierre Tachoire
f2a406d224
move netsurf and mimalloc into modules
2024-06-18 16:13:27 +02:00