Commit Graph

404 Commits

Author SHA1 Message Date
Francis Bouvier
34a9f2ed74 Update jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
2023-12-17 15:11:17 +01:00
Pierre Tachoire
acb8eec540 Merge pull request #133 from lightpanda-io/dom-childnode
dom: implement NonDocumentTypeChildNode mixin for element
2023-12-15 17:00:27 +01:00
Pierre Tachoire
455136df17 code style 2023-12-15 16:53:46 +01:00
Pierre Tachoire
a9fee9be07 dom: implement NonDocumentTypeChildNode mixin for element 2023-12-15 16:53:41 +01:00
Pierre Tachoire
6332b1af41 Merge pull request #124 from lightpanda-io/dom-parentnode
Dom parentnode accessors mixin
2023-12-15 16:52:27 +01:00
Pierre Tachoire
bedac0a2c5 html_collection: explicitely list switch cases 2023-12-15 13:55:04 +01:00
Pierre Tachoire
314d2dae80 typo fix
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
2023-12-15 13:54:52 +01:00
Pierre Tachoire
233aaf9f76 Merge pull request #135 from lightpanda-io/wpt-imp
wpt: better summary output
2023-12-15 12:07:07 +01:00
Pierre Tachoire
53685a388e Merge pull request #136 from lightpanda-io/ci-pr
ci: run workflows on all PR
2023-12-15 12:06:31 +01:00
Pierre Tachoire
8c6c658abb ci: run workflows on all PR 2023-12-15 12:02:03 +01:00
Pierre Tachoire
e04bbc2ace wpt: summary includes pass cases number 2023-12-15 11:58:54 +01:00
Pierre Tachoire
1e739af4e4 wpt: use std.ChildProcess.run 2023-12-15 11:28:28 +01:00
Pierre Tachoire
1cf0fc71ea wpt: unskip test 2023-12-15 11:11:13 +01:00
Pierre Tachoire
be6ba7a1d6 apt: move test on the right place 2023-12-13 16:23:58 +01:00
Pierre Tachoire
510dd8bf9d dom: imprive children walker 2023-12-13 16:23:45 +01:00
Pierre Tachoire
61e2cc34da dom: add ParentNode-children.html wpt test 2023-12-13 15:58:11 +01:00
Pierre Tachoire
d1f8555c1e element: implement parenteNode accessors 2023-12-13 13:38:24 +01:00
Pierre Tachoire
c732b7496c dom: implement document parentNode accessors 2023-12-13 13:17:45 +01:00
Pierre Tachoire
82c836c80d dom: document first element can be null 2023-12-13 13:12:01 +01:00
Pierre Tachoire
edff9f7444 dom: element: add wpt test 2023-12-13 11:10:49 +01:00
Pierre Tachoire
fb2ba6700e dom: add element children and getelementsby* 2023-12-13 11:10:48 +01:00
Pierre Tachoire
6f91537354 dom: add document.children 2023-12-13 11:10:48 +01:00
Pierre Tachoire
6566df6338 dom: refacto html collection to handle root or descendant only
HTMLCollection works on two different way:
* by default it must walk over root's descendants only
* on document, since the given root must be included in the walk.
2023-12-13 11:10:44 +01:00
Pierre Tachoire
2b298708ba Merge pull request #119 from lightpanda-io/dom-element
dom: implement some element getters
2023-12-13 10:46:15 +01:00
Pierre Tachoire
4768d28b07 Merge pull request #122 from lightpanda-io/dom-processinginstruction-cdata
dom: processing instruction inherits from node
2023-12-13 10:46:02 +01:00
Pierre Tachoire
dde13c42cf dom: use DOMError.InvalidCharacter 2023-12-13 10:40:09 +01:00
Pierre Tachoire
5c8d3eba31 dom: implement elemnt.classList
and DOMTokenList
2023-12-13 10:40:09 +01:00
Pierre Tachoire
bd6f3faf9a dom: implement element.slot 2023-12-13 10:40:09 +01:00
Pierre Tachoire
3d5155bf2b dom: implement element.className 2023-12-13 10:40:08 +01:00
Pierre Tachoire
99caa1c495 dom: implement element.id 2023-12-13 10:40:08 +01:00
Pierre Tachoire
4f5a9f6833 dom: implement some element getters 2023-12-13 10:40:08 +01:00
Pierre Tachoire
4d5672330b dom: remove processing instruction prototype
instead of CDATA.
2023-12-13 10:38:00 +01:00
Pierre Tachoire
1bc65583da Merge pull request #125 from lightpanda-io/org-module
modules: change organization pathname
2023-12-13 10:37:21 +01:00
Pierre Tachoire
05b171f86e modules: change organization pathname 2023-12-13 10:02:06 +01:00
Pierre Tachoire
4537eb9f8d Merge pull request #126 from lightpanda-io/ugprade-libdom
upgrade vendor/netsurf/libdom
2023-12-13 10:00:52 +01:00
Pierre Tachoire
e146e07a28 ci: run ci on vendor deep changes 2023-12-13 09:38:45 +01:00
Pierre Tachoire
7f1e592401 upgrade vendor/netsurf/libdom 2023-12-13 09:38:44 +01:00
Pierre Tachoire
6e30a94435 Merge pull request #127 from lightpanda-io/upgrade-jsruntime
upgrade jsruntime
2023-12-13 09:38:11 +01:00
Pierre Tachoire
e7264ebde7 wpt: pass allocator intreado of arena to Env.init 2023-12-13 09:29:29 +01:00
Pierre Tachoire
75f8f31ab0 upgrade jsruntime 2023-12-13 09:29:28 +01:00
Pierre Tachoire
5953489074 Merge pull request #128 from lightpanda-io/ci-vendor
ci: run tests and wpt on eveyr vendor change
2023-12-12 15:53:58 +01:00
Pierre Tachoire
86795c9b9d ci: run tests and wpt on eveyr vendor change 2023-12-12 15:52:26 +01:00
Pierre Tachoire
dd74dbbccf Merge pull request #118 from lightpanda-io/dom-doc
Next Dom document implementation
2023-12-08 17:18:23 +01:00
Pierre Tachoire
9c7194e98d dom: use nodeName instead of string representation
for document unit test
2023-12-08 15:06:47 +01:00
Pierre Tachoire
9ef61b424e dom: create a Text.Interface union 2023-12-08 14:59:13 +01:00
Pierre Tachoire
67b354abed dom: fix adoptNode and importNode return 2023-12-07 18:53:06 +01:00
Pierre Tachoire
807b3275a4 dom: add more WPT tests for document 2023-12-07 17:44:43 +01:00
Pierre Tachoire
b0c6948848 dom: implement document.createAttributeNS 2023-12-07 17:42:15 +01:00
Pierre Tachoire
f0149b03e5 dom: implement document.createAttribute 2023-12-07 17:36:34 +01:00
Pierre Tachoire
82148da5f6 dom: implement document.adoptNode 2023-12-07 17:31:04 +01:00