Adrià Arrufat
5404ca723c
SemanticTree: move NodeData initialization closer to usage
2026-03-20 10:18:16 +09:00
Adrià Arrufat
e56ffe4b60
SemanticTree): use WalkContext for walk function
2026-03-20 10:12:57 +09:00
Adrià Arrufat
a74e97854d
Merge branch 'main' into css-improvements
2026-03-20 09:46:31 +09:00
Karl Seguin
4cdc24326a
Merge pull request #1918 from lightpanda-io/shadowroot_adoptedstyle
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / wba-demo-scripts (push) Has been cancelled
e2e-test / wba-test (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
e2e-test / browser fetch (push) Has been cancelled
zig-test / zig fmt (push) Has been cancelled
zig-test / zig test using v8 in debug mode (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
e2e-integration-test / zig build release (push) Has been cancelled
e2e-integration-test / demo-integration-scripts (push) Has been cancelled
Add `adoptedStyleSheets` property to ShadowRoot, just like Document
2026-03-20 07:11:49 +08:00
Karl Seguin
cf46f0097a
Merge pull request #1915 from lightpanda-io/unhandled_rejection_improvements
...
Improve unhandled rejection
2026-03-20 07:11:35 +08:00
Pierre Tachoire
d94fd2a43b
Merge pull request #1793 from lightpanda-io/wpt-selfhost
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / wba-demo-scripts (push) Has been cancelled
e2e-test / wba-test (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
e2e-test / browser fetch (push) Has been cancelled
zig-test / zig fmt (push) Has been cancelled
zig-test / zig test using v8 in debug mode (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 / zig build release (push) Has been cancelled
wpt / build wpt runner (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
Move WPT runs on a dedicated host
2026-03-19 17:35:21 +01:00
Pierre Tachoire
8c5e737669
ci: use mem-limit with wptrunner
2026-03-19 15:40:18 +01:00
Pierre Tachoire
fb29a1c5bf
ci: adjust wpt serve wait time
2026-03-19 15:40:18 +01:00
Karl Seguin
a2e59af44c
Merge pull request #1911 from lightpanda-io/fix/turnstile-300030-missing-navigator-apis
...
Fix/turnstile 300030 missing navigator apis
2026-03-19 20:26:27 +08:00
Karl Seguin
00c962bdd8
Merge pull request #1914 from lightpanda-io/semantic-tree-depth
...
SemanticTree: add progressive discoverability
2026-03-19 20:12:02 +08:00
Karl Seguin
1fa87442b8
log not_implemented on navigator.getBattery
2026-03-19 20:11:03 +08:00
Karl Seguin
ac5400696a
Merge pull request #1916 from lightpanda-io/request_abort
...
Add Request.signal
2026-03-19 20:07:12 +08:00
Adrià Arrufat
5062273b7a
SemanticTree: use CDPNode.Id for NodeData id
2026-03-19 20:29:54 +09:00
Adrià Arrufat
9c2393351d
SemanticTree: simplify max_depth logic
2026-03-19 20:25:20 +09:00
Adrià Arrufat
f0cfe3ffc8
SemanticTree: use logger better
...
Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com >
2026-03-19 20:15:56 +09:00
Pierre Tachoire
615fcffb99
Merge pull request #1924 from lightpanda-io/wba-test
...
e2e-test / zig build release (push) Has been cancelled
e2e-test / demo-scripts (push) Has been cancelled
e2e-test / wba-demo-scripts (push) Has been cancelled
e2e-test / wba-test (push) Has been cancelled
e2e-test / cdp-and-hyperfine-bench (push) Has been cancelled
e2e-test / perf-fmt (push) Has been cancelled
e2e-test / browser fetch (push) Has been cancelled
zig-test / zig fmt (push) Has been cancelled
zig-test / zig test using v8 in debug mode (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
Adjust wba test
2026-03-19 10:47:23 +01:00
Karl Seguin
13b746f9e4
Merge pull request #1919 from lightpanda-io/remove-make-shell
...
build: remove shell target from Makefile
2026-03-19 17:39:19 +08:00
Adrià Arrufat
e90fce4c55
Merge pull request #1920 from lightpanda-io/markdown-renderer-refactor
...
markdown: refactor renderer into a struct to simplify argument passing
2026-03-19 18:26:57 +09:00
Pierre Tachoire
59175437b5
wpt: force a wakeup of the wbauth server before the test
2026-03-19 09:40:47 +01:00
Pierre Tachoire
e950384b9b
ci: sleep 5s to wait node startup
2026-03-19 09:36:47 +01:00
Pierre Tachoire
78440350dc
ci: slow down execution
2026-03-19 09:32:27 +01:00
Pierre Tachoire
f435297949
ci: adjust WPT daily start time
2026-03-19 09:32:26 +01:00
Pierre Tachoire
54d1563cf3
ci: run WPT tests on a dedicated server
2026-03-19 09:32:13 +01:00
Karl Seguin
6c5733bba3
Merge pull request #1910 from lightpanda-io/css-improvements-perf2
...
Bucket stylesheet rules
2026-03-19 14:39:55 +08:00
Adrià Arrufat
f36499b806
markdown: refactor renderer into a struct to simplify argument passing
2026-03-19 15:19:11 +09:00
Adrià Arrufat
fa1dd5237d
build: remove shell target from Makefile
2026-03-19 13:24:41 +09:00
Karl Seguin
2b9d5fd4d9
Add adoptedStyleSheets property to ShadowRoot, just like Document
...
Used in github.
2026-03-19 12:09:10 +08:00
Karl Seguin
1695ea81d2
on rebuild, pre-size lookups based on previous sizes
2026-03-19 11:46:58 +08:00
Karl Seguin
b7bf86fd85
update comments to reflect preference-based bucketing
2026-03-19 11:43:31 +08:00
Karl Seguin
94d8f90a96
Bucket stylesheet rules
...
In the first iteration of this, we kept an ArrayList of all rules with
visibility properties. Why bother evaluating if a rule's selector matches an
element if that rule doesn't have any meanignful (i.e. visibility) properties?
This commit enhances that approach by bucketing the rules. Given the following
selectors:
.hidden {....}
.footer > .small {...}
We can store the rules based on their right-most selector. So, given an element
we can do:
if (getId(el)) |id| {
const rules = id_lookup.get(id) orelse continue;
// check rules
}
if (getClasses(el)) |classes| {
for (classes) |c| {
const rules = class_lookup(c) orelse continue;
// chck rules
}
}
...
On an amazon product page, the total list of visibility-related rules was ~230.
Now, scanning 230 rules for a match isn't _aweful_, but remember that this has
to be done up the ancestor tree AND, for Amazon, this is called over 20K times.
This change requires that the StyleManager becomes more matching/parsing-aware
but a typical visibility check on that same Amazon product page only has to
check 2 rules (down from 230) and often has to check 0 rules.
Also, we now filter out a few more interactive-related pseudo-elements, e.g.
:hover. These aren't supported by the browser as a whole (i.e. they can _never_
match), so they can be filtered out early, when building the rules lookup.
2026-03-19 11:43:30 +08:00
Karl Seguin
964fa0a8aa
Add Request.signal
...
Allows aborting a fetch. Improves github integration
2026-03-19 11:40:16 +08:00
Karl Seguin
db01158d2d
Improve unhandled rejection
...
We now pay attention to the type of event that causes the unhandled exception.
This allows us to trigger the window.rejectionhandled event when that is the
correct type. It also lets us no-op for other event types which should not
trigger rejectionhandled or unhandledrejection.
Fixes stackoverflow in github integration.
2026-03-19 11:36:39 +08:00
Adrià Arrufat
e997f8317e
SemanticTree: add tests for backendDOMNodeId and maxDepth
2026-03-19 12:25:02 +09:00
Karl Seguin
b9bef22bbf
Merge pull request #1912 from lightpanda-io/css-improvements-fix
...
StyleManager: restore dirty state on rebuild allocation failure
2026-03-19 10:25:09 +08:00
Adrià Arrufat
b2a996e5c7
StyleManager: restore dirty state on rebuild allocation failure
2026-03-19 11:13:04 +09:00
Karl Seguin
a88c21cdb5
Fix Navigator Additions
...
Follow up to https://github.com/lightpanda-io/browser/pull/1884
Fixes build, uses arena/finalizer for PermissionStatus. Fixes tests. A few other
small cleanups.
2026-03-19 09:41:13 +08:00
Adrià Arrufat
7a7c4b9f49
SemanticTree): add backendNodeId and maxDepth support
2026-03-19 10:18:08 +09:00
Karl Seguin
f594b033bf
Merge pull request #1897 from lightpanda-io/css-improvements-perf
...
Introduce StyleManager
2026-03-19 07:10:35 +08:00
Karl Seguin
10e379e4fb
fix clamping
2026-03-19 07:00:26 +08:00
Karl Seguin
c1bb27c450
better encapsulate arena reset
2026-03-19 06:53:08 +08:00
Karl Seguin
dda5e2c542
Apply suggestions from code review
...
Co-authored-by: Adrià Arrufat <1671644+arrufat@users.noreply.github.com >
2026-03-19 06:47:40 +08:00
Karl Seguin
edd0c5c83f
Merge pull request #1900 from lightpanda-io/input-event
...
zig-test / zig fmt (push) Has been cancelled
zig-test / zig test using v8 in debug mode (push) Has been cancelled
zig-test / zig test (push) Has been cancelled
zig-test / perf-fmt (push) Has been cancelled
e2e-integration-test / zig build release (push) Has been cancelled
e2e-integration-test / demo-integration-scripts (push) Has been cancelled
distapch InputEvent on input/TextArea changes
2026-03-19 06:39:44 +08:00
Francis Bouvier
c6861829c3
Merge pull request #1907 from lightpanda-io/README-remove-js-runtime
...
zig-test / zig fmt (push) Has been cancelled
zig-test / zig test using v8 in debug mode (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 / zig build release (push) Has been cancelled
wpt / build wpt runner (push) Has been cancelled
wpt / web platform tests json output (push) Has been cancelled
wpt / perf-fmt (push) Has been cancelled
REAMDE: again references to js-runtime
2026-03-18 16:48:16 +01:00
Francis Bouvier
e14c8b3025
REAMDE: again references to js-runtime
2026-03-18 16:45:44 +01:00
Francis Bouvier
5bc00c595c
Merge pull request #1906 from lightpanda-io/README-remove-js-runtime
...
README: remove again references to js-runtime
2026-03-18 16:44:53 +01:00
Francis Bouvier
db5fb40de0
README: remove again references to js-runtime
2026-03-18 16:42:31 +01:00
Pierre Tachoire
4e6a357e6e
use initTrusted for InputEvent
2026-03-18 16:41:28 +01:00
Francis Bouvier
6cf515151d
Merge pull request #1905 from lightpanda-io/README-remove-js-runtime
...
README: remove reference to zig-js-runtime
2026-03-18 16:41:08 +01:00
Pierre Tachoire
bf6e4cf3a6
disaptch InputEvent on input/TextArea changes
2026-03-18 16:40:21 +01:00
Francis Bouvier
60936baa96
README: remove reference to zig-js-runtime
2026-03-18 16:39:26 +01:00