Pierre Tachoire
|
8dc757ddf3
|
node: implement getRootNode
|
2024-10-17 14:44:34 +02:00 |
|
Pierre Tachoire
|
b64f7d013d
|
node: implement node.compareDocumentPosition
|
2024-10-17 14:44:33 +02:00 |
|
Pierre Tachoire
|
cce36c5fbd
|
nodelist: remove debug log
|
2024-09-25 09:50:31 +02:00 |
|
Pierre Tachoire
|
aefab86501
|
nodelist: implement iterators
|
2024-09-25 09:37:14 +02:00 |
|
Pierre Tachoire
|
44a5fa011a
|
dom: implement nodelist.foreach
|
2024-09-20 18:32:23 +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
|
12111d4cdf
|
dom: first draft for MutationObserver
|
2024-06-24 15:19:30 +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
|
720d3f4df9
|
test: fix comptime var
|
2024-06-18 16:13:28 +02:00 |
|
Pierre Tachoire
|
f2a406d224
|
move netsurf and mimalloc into modules
|
2024-06-18 16:13:27 +02:00 |
|
Pierre Tachoire
|
c2e64c131a
|
userctx: document is not opational anymore
|
2024-05-22 14:56:41 +02:00 |
|
Pierre Tachoire
|
840aea9013
|
dom: fix document creation process
|
2024-05-22 14:56:41 +02:00 |
|
Pierre Tachoire
|
7d91f7992c
|
dom: first draft for hierachy check in nodes
|
2024-05-22 14:56:40 +02:00 |
|
Pierre Tachoire
|
b2df0c1541
|
dom: implement document fragment constructor
|
2024-05-22 14:56:40 +02:00 |
|
Pierre Tachoire
|
d823eebce5
|
dom: remove useless TODO
|
2024-05-22 14:56:40 +02:00 |
|
Pierre Tachoire
|
55b80ecd15
|
dom: implement text constructor
|
2024-05-22 14:56:39 +02:00 |
|
Pierre Tachoire
|
14e1c44eb0
|
dom: implement comment constructor
|
2024-05-22 14:56:29 +02:00 |
|
Pierre Tachoire
|
eef2fa94d0
|
text: return error on constructor
Blocked by #102
|
2024-05-22 14:45:40 +02:00 |
|
Pierre Tachoire
|
49ee5e4e68
|
comment: return error on constructor
Blocked by https://github.com/lightpanda-io/browsercore/issues/102
|
2024-05-22 14:45:39 +02:00 |
|
Pierre Tachoire
|
b7f589ee1a
|
dom: fix document constructor
|
2024-05-22 14:45:39 +02:00 |
|
Pierre Tachoire
|
2a3a243d1c
|
add AGPL license header in zig files
|
2024-05-13 20:51:36 +02:00 |
|
Pierre Tachoire
|
d155421a40
|
netsurf: add missing netsurf DOM errors
|
2024-04-29 17:42:38 +02:00 |
|
Pierre Tachoire
|
49e3d569de
|
dom: fix processing instruction clone
|
2024-04-05 16:34:22 +02:00 |
|
Pierre Tachoire
|
4d5f6d42fa
|
dom: use the css matcher for DOM
|
2024-03-26 10:25:50 +01:00 |
|
Pierre Tachoire
|
63e19c7704
|
netsurf: factorize document parsing
|
2024-02-29 14:14:13 +01:00 |
|
Pierre Tachoire
|
25bc2d5e75
|
DOM: improve innerHTML setter test
|
2024-02-28 14:44:40 +01:00 |
|
Pierre Tachoire
|
810bd11a5b
|
dump: rename HTML dump funcs
|
2024-02-28 14:39:22 +01:00 |
|
Pierre Tachoire
|
c0e2377e16
|
dom: implement innerHTML setter
|
2024-02-27 16:11:11 +01:00 |
|
Pierre Tachoire
|
f7c0bcceae
|
dom: fix replace child
|
2024-02-27 16:11:11 +01:00 |
|
Pierre Tachoire
|
37f4a9c72c
|
dom: add innerHTML getter
|
2024-02-27 16:11:10 +01:00 |
|
Francis Bouvier
|
501b3caa8e
|
Add legacy document.createEvent and event.initEvent
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-29 09:04:03 +01:00 |
|
Francis Bouvier
|
ce3c533680
|
Add deinit for EventTarget (eventTargetRemoveAllEventListeners)
And unify the way allocator is used on eventTarget add/remove listener
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-29 08:01:35 +01:00 |
|
Francis Bouvier
|
9ba4c69a92
|
Add removeEventListener
And check if callback has been already added in addEventListener
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-24 11:43:16 +01:00 |
|
Francis Bouvier
|
3483dfa81e
|
Check if event target has listener before adding it
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-23 02:56:12 +01:00 |
|
Francis Bouvier
|
de7fe8ba09
|
Add tests for Event
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-19 16:46:09 +01:00 |
|
Francis Bouvier
|
da0a54a0df
|
Add more tests cases for event capture/target/bubbles phases
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-19 13:16:40 +01:00 |
|
Francis Bouvier
|
2faf584d36
|
Updates, fix and Event properties
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-18 22:00:36 +01:00 |
|
Francis Bouvier
|
86cc3d25dc
|
Move some details implementation from EventTarget to the parser
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-17 15:29:48 +01:00 |
|
Francis Bouvier
|
ae6a714573
|
First implementation of Event system
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2024-01-17 00:12:57 +01:00 |
|
Pierre Tachoire
|
d8df27ead7
|
dom: refacto append/prepend/replaceChild in Node
|
2024-01-18 09:59:26 +01:00 |
|
Pierre Tachoire
|
b33fc68898
|
dom: add doc.prepend/append
|
2024-01-18 09:53:21 +01:00 |
|
Pierre Tachoire
|
c0643398d7
|
dom: declare document prepend/append/replaceChildren
|
2024-01-18 09:53:20 +01:00 |
|
Pierre Tachoire
|
84aad08806
|
dom: add element.replaceChildren
|
2024-01-18 09:53:20 +01:00 |
|
Pierre Tachoire
|
3af716d934
|
dom: add element prepend and append
|
2024-01-18 09:53:16 +01:00 |
|
Pierre Tachoire
|
a2e266514f
|
dom: extract walker from html_collection to its own file
|
2024-01-17 18:25:05 +01:00 |
|
Pierre Tachoire
|
a461ecd7df
|
Merge pull request #129 from lightpanda-io/html-collection-arraylike
dom: html collection: implement array like
|
2024-01-16 15:50:40 +01:00 |
|
Pierre Tachoire
|
93db41ff10
|
html_collection: update iterator values
|
2024-01-15 14:25:20 +01:00 |
|