Pierre Tachoire
|
a504daebe1
|
dom: use alloc short name
|
2023-11-27 17:55:02 +01:00 |
|
Pierre Tachoire
|
c4c6cfa044
|
better null check syntax
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-27 17:55:02 +01:00 |
|
Pierre Tachoire
|
8d6f18744e
|
move unsued along with TODO
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-27 17:55:02 +01:00 |
|
Pierre Tachoire
|
0afa6b27b9
|
remove useless var
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-27 17:55:01 +01:00 |
|
Pierre Tachoire
|
bd68f07206
|
use _ name for unused self args
Co-authored-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-27 17:55:01 +01:00 |
|
Pierre Tachoire
|
443aef4f76
|
dom: add DOMImplementation.hasFeature
|
2023-11-27 17:55:00 +01:00 |
|
Pierre Tachoire
|
dde3f149d6
|
dom: add DOMImplementation.deinit
|
2023-11-27 17:55:00 +01:00 |
|
Pierre Tachoire
|
1c4edf7c95
|
dom: implement document constructor
|
2023-11-27 17:55:00 +01:00 |
|
Pierre Tachoire
|
7bd4729d3f
|
dom: add document.implementation
|
2023-11-27 17:54:59 +01:00 |
|
Pierre Tachoire
|
766c2ae47c
|
dom: add DOMImplementation
|
2023-11-27 17:54:57 +01:00 |
|
Francis Bouvier
|
0ba0ae5b4e
|
dom_exception: adapt to interface definition change
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-27 16:44:26 +01:00 |
|
Francis Bouvier
|
86489f3635
|
dom_exception: add errors not handled by netsurf
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-27 16:20:31 +01:00 |
|
Francis Bouvier
|
372c93d0f5
|
DOMException: implements reviewer comments
Co-authored-by: Pierre Tachoire <pierre@lightpanda.io>
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-24 18:26:03 +01:00 |
|
Francis Bouvier
|
57dcbe1ba9
|
Add DOMException
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-23 17:14:01 +01:00 |
|
Pierre Tachoire
|
36005cd591
|
Merge pull request #86 from Browsercore/jsruntime_changes
Adapt to free js slices
|
2023-11-27 12:22:07 +01:00 |
|
Pierre Tachoire
|
ec06190327
|
dom: implement document.characterSet
|
2023-11-27 09:28:41 +01:00 |
|
Francis Bouvier
|
71866001db
|
Adapt to free js slices
Relates to PR https://github.com/Browsercore/jsruntime-lib/issues/111
Relates to issue https://github.com/Browsercore/jsruntime-lib/pull/142
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-26 23:49:21 +01:00 |
|
Francis Bouvier
|
b4951ffa51
|
Adapt to js_env.start change
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-24 19:37:45 +01:00 |
|
Pierre Tachoire
|
b64707766e
|
dom: rename document.get_URL
|
2023-11-24 10:30:15 +01:00 |
|
Pierre Tachoire
|
bf297ac97d
|
dom: document.documentURI and document.URL
|
2023-11-24 09:22:37 +01:00 |
|
Pierre Tachoire
|
0fadb4ff98
|
dom: document.contentType with hardcoded value
|
2023-11-24 09:22:37 +01:00 |
|
Pierre Tachoire
|
f1ea914303
|
dom: add document.compatMode with hardcoded value
|
2023-11-24 09:22:37 +01:00 |
|
Pierre Tachoire
|
4ae0c0c5af
|
dom: add document.characterSet with hardcoded value
|
2023-11-24 09:22:35 +01:00 |
|
Pierre Tachoire
|
e4d1b1d921
|
dom: add document.documentElement getter
|
2023-11-24 09:21:07 +01:00 |
|
Francis Bouvier
|
f0483586a3
|
Merge pull request #75 from Browsercore/dom-documenttype
dom: add DocumentType
|
2023-11-23 14:33:25 +01:00 |
|
Francis Bouvier
|
c751b5f420
|
Update jsruntime
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
|
2023-11-21 12:16:51 +01:00 |
|
Pierre Tachoire
|
06ec9a16f5
|
dom: remove useless error union on document.getElementsBy*
|
2023-11-20 16:34:13 +01:00 |
|
Pierre Tachoire
|
a64d920f11
|
dom: add document.doctype getter
|
2023-11-20 15:26:58 +01:00 |
|
Pierre Tachoire
|
5ac6a286fc
|
dom: add DocumentType
|
2023-11-20 15:26:23 +01:00 |
|
Pierre Tachoire
|
2ce6f36006
|
dom: html_collection: rename Match into Matcher
|
2023-11-20 14:57:43 +01:00 |
|
Pierre Tachoire
|
1d5eb47732
|
dom: html_collection: remove useless error union
|
2023-11-20 14:57:43 +01:00 |
|
Pierre Tachoire
|
47e52b8217
|
dom: implement lwc_string
and unit tests for document.GetElementByClassName
|
2023-11-20 14:57:42 +01:00 |
|
Pierre Tachoire
|
9acf3fb209
|
dom: remove useless deinit from html_collection
|
2023-11-20 14:57:42 +01:00 |
|
Pierre Tachoire
|
dd28204797
|
dom: implement getElementsByClassName
|
2023-11-20 14:57:42 +01:00 |
|
Pierre Tachoire
|
e9edb8bab4
|
dom: no need to allocate mem for case insensitive equality
thanks to
[std.ascii.eqlIgnoreCase](https://ziglang.org/documentation/master/std/#A;std:ascii.eqlIgnoreCase)
|
2023-11-20 14:57:41 +01:00 |
|
Pierre Tachoire
|
9b94a4ec49
|
dom: deinit matcher with HTMLCollection
|
2023-11-20 14:57:41 +01:00 |
|
Pierre Tachoire
|
78e2f70cfb
|
dom: refacto HTMLCollection to extract matching
|
2023-11-20 14:57:41 +01:00 |
|
Pierre Tachoire
|
0b17d79baa
|
dom: add HTMLCollectionIterator
|
2023-11-20 10:50:20 +01:00 |
|
Pierre Tachoire
|
2981703b7f
|
netsurf: add TODO on encoding change error code
|
2024-01-12 15:40:43 +01:00 |
|
Pierre Tachoire
|
0f24660707
|
netsurf: fix parser error values
|
2024-01-12 15:22:30 +01:00 |
|
Pierre Tachoire
|
028cd2331f
|
netsurf: pass encoding to the parser
|
2024-01-12 15:22:30 +01:00 |
|
Pierre Tachoire
|
1a03412635
|
netsurf: add a test case for html parsing bug
https://github.com/lightpanda-io/libdom/issues/4
|
2024-01-11 16:50:21 +01:00 |
|
Pierre Tachoire
|
408482470b
|
test: run classic test func
|
2024-01-11 16:13:07 +01:00 |
|
Pierre Tachoire
|
4a15456418
|
dom: declare document.createElementsNS
|
2023-11-20 10:39:40 +01:00 |
|
Pierre Tachoire
|
18bfaf8b55
|
dom: create elementToNode helper
|
2023-11-17 15:11:00 +01:00 |
|
Pierre Tachoire
|
3ca6a4a74e
|
dom: fix bug in collection get_next
|
2023-11-16 17:32:31 +01:00 |
|
Pierre Tachoire
|
9b923c550b
|
dom: remove unreachable from html collection
|
2023-11-16 17:32:30 +01:00 |
|
Pierre Tachoire
|
3909fc01a7
|
dom: improve code style
|
2023-11-16 17:32:30 +01:00 |
|
Pierre Tachoire
|
a136e812ae
|
dom: add collection get_next comment
|
2023-11-16 17:32:30 +01:00 |
|
Pierre Tachoire
|
2129361fa0
|
dom: is_wildcard is never changed
|
2023-11-16 17:32:29 +01:00 |
|