Halil Durak
f419f05a5e
support WEBGL_lose_context
2025-11-14 12:18:13 +03:00
Halil Durak
3c98e4f71e
add WEBGL_debug_renderer_info
2025-11-13 15:40:59 +03:00
Halil Durak
c459325a5f
update CanvasRenderingContext2D test
...
Adds the missing RGBA and long digit hex format tests.
2025-11-13 14:55:12 +03:00
Halil Durak
37ac465695
add WebGLRenderingContext test
2025-11-13 14:36:07 +03:00
Pierre Tachoire
b782cc6389
Merge pull request #1199 from lightpanda-io/nikneym/dummy-canvas
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
Dummy canvas
2025-11-13 08:28:24 +01:00
Pierre Tachoire
4538464df4
Merge pull request #1205 from lightpanda-io/template-content
...
handle template's original content
2025-11-13 08:27:46 +01:00
Halil Durak
dd079f0c0e
update canvas test
2025-11-12 18:49:13 +03:00
Pierre Tachoire
c4380b91f4
handle template's original content
...
When the document fragment is called via the content method on a
templat, it must contain the original template's HTML nodes.
2025-11-12 11:02:22 +01:00
Muki Kiboigo
16e7c0841d
handle empty hashes in Location
2025-11-10 06:52:14 -08:00
Muki Kiboigo
3cc53b579b
add location set hash tests
2025-11-05 10:08:37 -08:00
Halil Durak
4cf61d101c
initial dummy canvas
2025-11-05 11:50:57 +03:00
Halil Durak
74a5438587
update Blob test
2025-11-04 13:07:23 +03:00
Karl Seguin
8a867bc9c2
Merge pull request #1190 from lightpanda-io/nikneym/blob
...
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
e2e-test / zig build release (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
`Blob` support
2025-11-01 19:58:18 +08:00
Halil Durak
9b990da7fa
update Blob test
2025-10-31 17:18:33 +03:00
Halil Durak
b68675bb94
update Blob test
2025-10-30 22:36:07 +03:00
Halil Durak
1085950b88
initial Blob support
2025-10-30 16:08:03 +03:00
Pierre Tachoire
3ec15ad1f7
add a test for script load order
2025-10-28 13:12:18 +01:00
Pierre Tachoire
d0b83c674c
Merge pull request #1138 from lightpanda-io/navigation
...
add `Navigation` WebAPI
2025-10-24 09:30:09 +02:00
Halil Durak
2e6ec1e23b
add URL.canParse test
2025-10-23 13:31:01 +03:00
Halil Durak
1015fc09ee
Merge pull request #1170 from lightpanda-io/nikneym/ada-in-web-apis
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
Use ada-url for URL operations in web APIs
2025-10-23 12:13:45 +03:00
Pierre Tachoire
2422c8718c
renderer: set a default box size of 5 pixels
2025-10-22 15:54:43 +02:00
Halil Durak
8d4cf400ce
bring back invalidUrl test with error expectation
2025-10-22 15:03:06 +03:00
Halil Durak
c6a0368c61
add a searchParamsSetHref test according to href setter change
2025-10-22 15:02:48 +03:00
Muki Kiboigo
b55b9bba0a
functional NavigationCurrentEntryChangeEvent
2025-10-21 18:31:39 -07:00
Muki Kiboigo
82a45253de
add direct event handlers
2025-10-21 18:31:09 -07:00
Muki Kiboigo
e9b08f19cf
fix navigation and related tests
2025-10-21 18:29:28 -07:00
Muki Kiboigo
f97697535f
History as compat layer over Navigation
2025-10-21 18:29:28 -07:00
Halil Durak
7d39bc979f
remove invalidUrl test in url.html
2025-10-21 16:50:16 +03:00
Halil Durak
d60d3ebaac
update link.html test
2025-10-21 16:49:48 +03:00
Karl Seguin
1a47f7b5a8
Merge pull request #1157 from lightpanda-io/rootNode_composed
...
support the composed option of getRootNode()
2025-10-18 07:44:38 +08:00
Karl Seguin
6a30ab7a57
Merge pull request #1156 from lightpanda-io/report_error
...
add window.reportError
2025-10-18 07:44:24 +08:00
Karl Seguin
288379aa7d
support the composed option of getRootNode()
2025-10-16 19:08:33 +08:00
Karl Seguin
a9739bf361
add window.reportError
2025-10-16 18:33:18 +08:00
Karl Seguin
c69adcb163
add CompositionEvent
2025-10-16 15:57:37 +08:00
Karl Seguin
b610aa1c0c
Encode UTF8 non breakingspace (194, 160) as - same as chrome
2025-10-15 17:34:23 +08:00
Karl Seguin
18c851e53f
Merge pull request #1149 from lightpanda-io/iterators_and_walker_fix
...
Improve correctness of NodeIterator and Treewalker
2025-10-15 15:58:12 +08:00
Karl Seguin
c9517aff7d
Add tests for svg tag names
...
Depends on: https://github.com/lightpanda-io/libdom/pull/46
2025-10-15 09:37:56 +08:00
Karl Seguin
3657a49a2c
Improve correctness of NodeIterator and Treewalker
...
In their current implementation, both the NodeIterator and TreeWalker would
skip over ignored nodes. However, while the node itself should have been ignored
its children should still be iterated.
For example, when going over:
```
<div id="container">
<!-- comment1 -->
<span>
<!-- comment2 -->
</span>
</div>
```
With `SHOW_COMMENT`, the previous version would completely skip over `container`
and its children. Now the code still won't emit the `container` div itself,
it will still iterate through its children (and thus emit the two comments).
This change relates to ongoing react compatibility.
2025-10-15 09:23:54 +08:00
Karl Seguin
ee8786444f
add another test
2025-10-14 13:48:23 +08:00
Karl Seguin
afac4fc37f
add a test for the changes to parsing adjascent text ndoes
2025-10-14 00:23:35 +08:00
nikneym
9b4ea7a040
add an invalid url test
...
* this test should not pass; it's related to implementation of `std.Uri` though.
2025-10-10 10:40:10 +03:00
Pierre Tachoire
b53c2bfa0c
Merge pull request #1135 from lightpanda-io/importmap
...
Importmap support
2025-10-10 09:33:23 +02:00
Pierre Tachoire
58cc5b4684
typo fix
2025-10-10 08:02:45 +02:00
Pierre Tachoire
4bf79e4bc9
add importmap support
2025-10-09 16:09:25 +02:00
Pierre Tachoire
7afecf0f85
move mod specifier resolution js/context => script manager
2025-10-09 16:09:24 +02:00
Karl Seguin
852c30b2e5
Rework IntersectionObserver
...
1 - Always fire the callback on the next tick. This is probably the most
important change, as frameworks like React don't react well if the callback is
fired immediately (they expect to continue processing the page in its current
state, not in the mutated state from the callback)
2 - Always fire the callback for observed elements with a parent, whether or
not those intersect or are connected. From MDN, the callback is fired
"The first time the observer is initially asked to watch a target element."
3 - Add a mutation observer so that if a node is added to the root (or removed)
the callback is fired. This, I think, is the best we can currently do for
"intersection".
2025-10-09 14:17:03 +08:00
Karl Seguin
4ad10d057b
Add console.trace and svg attribute test
...
update to latest libdom
2025-10-07 22:26:38 +08:00
Karl Seguin
dab8012b6a
Start extract JS structs into their own files
...
Renames JsContext -> js.Context, JsObject -> js.Object and JsThis -> js.This
which is more consistent with the other types. The JsObject -> js.Object is
the reason so many files were touched.
This is still a [messy] transition, with more refactoring planned to clean it
up.
2025-10-02 12:48:50 +08:00
Karl Seguin
15b64d5a25
Improve window scroll
...
scroll alias for scrollTo
add get_scrollX and get_scrollY, along with their aliases: pageXOffset and
pageYOffset. These always return 0, unless scroll or scrollTo are called.
2025-10-01 18:41:56 +08:00
Karl Seguin
c335a545a3
Merge pull request #1107 from lightpanda-io/mutation_observer_improvement
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
zig-test / zig build dev (push) Has been cancelled
zig-test / browser fetch (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
nightly build / build-linux-x86_64 (push) Has been cancelled
nightly build / build-linux-aarch64 (push) Has been cancelled
nightly build / build-macos-aarch64 (push) Has been cancelled
nightly build / build-macos-x86_64 (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
Use correct 'this' on MutationObserver callback
2025-10-01 08:44:07 +08:00