Josh Matthews
981616f918
Don't run scripts while DOM tree is undergoing mutations ( #34505 )
...
* script: Implement node insertion post-connection hook. Ensure script elements only run scripts when the DOM has stabilized.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Make iframe element use post-connection steps when handling initial document insertion.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Use a delayed task when running post-connection steps.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Add explanatory comment.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Tidy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-12-26 06:06:09 +00:00
Josh Matthews
20d67bdc44
Ensure ConsumeBodyPromiseHandler values are always rooted ( #34194 )
...
* script: Root the use of ComsumeBodyPromiseHandler.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update mozjs and run crown on mozjs_sys.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-12-26 05:01:11 +00:00
Martin Robinson
5f927a2c28
script: Refactor channels in ScriptThread
into receivers and senders ( #34776 )
...
Create two new data structures in the `script` crate to hold senders and
receiver:
- `ScriptThreadSenders`: holds all outgoing channels from the
`ScriptThread` including a channel to the `ScriptThread` itself. The
ultimate goal with this is to reduce duplication by giving a boxed
version of this this to `Window`s.
- `ScriptThradReceivers`: holds all incoming channels to the
`ScriptThread`. This isn't cloenable like the senders. This is used to
abstract away `recv()` and `try_recv()` methods used to make the
`ScriptThread` event loop easier to read.
In addition:
- The many duplicated `ScriptThread` self-senders for the `TaskManager`
have been removed and, in general, a lot of boilerplate is removed as
well.
- Visibilty of all methods affected by this change is changed to
`pub(crate)` in order to take advantage of dead code detection. Some
dead code produced from macros is removed.
- Some conversion code is refactord into implementations of the `From`
trait.
- The names of channels uses a standard "sender" and "receiver" naming
as well as trying to be descriptive of where they go in `ScriptThread`
as well as `InitialScriptState`
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-12-26 03:34:54 +00:00
dependabot[bot]
1e95712772
build(deps): bump unicase from 2.8.0 to 2.8.1 ( #34775 )
...
Bumps [unicase](https://github.com/seanmonstar/unicase ) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/seanmonstar/unicase/releases )
- [Commits](https://github.com/seanmonstar/unicase/compare/v2.8.0...v2.8.1 )
---
updated-dependencies:
- dependency-name: unicase
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 17:49:27 +00:00
dependabot[bot]
8116d57093
build(deps): bump taffy from 0.7.0 to 0.7.1 ( #34774 )
...
Bumps [taffy](https://github.com/DioxusLabs/taffy ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/DioxusLabs/taffy/releases )
- [Changelog](https://github.com/DioxusLabs/taffy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/DioxusLabs/taffy/compare/v0.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: taffy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 17:45:07 +00:00
Domenico Rizzo
1dfb44d7b8
Clone node on a shadow root should always throw an error ( #34742 )
...
* Corrected Node-prototype-cloneNode clone part test
Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
* Corrected node code
Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
* updated MANIFEST
Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
* removed fails expectations
Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
* Removed not legacy ini file
Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
---------
Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
2024-12-24 16:04:04 +00:00
Samson
6bd6d3bc86
Update mozjs to include SM 128.6 ( #34772 )
...
* update mozjs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* use servo/mozjs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-12-24 13:35:55 +00:00
Martin Robinson
226299380d
script: Make timers per-process ( #34581 )
...
Before all timers were managed by the Constellation process, meaning
that they had to trigger IPC calls to be scheduled and fired. Currently,
timers are only used in the `ScriptThread`, so it makes sense that they
are per-process.
This change restores the timer thread functionality that existed before
avoided entirely. Completion is done using a callback that is sent to
the timer thread similarly to how fetch is done. This allows reusing the
existing task queue without making any new channels.
Fixes #15219 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-12-24 09:53:35 +00:00
Ngo Iok Ui (Wu Yu Wei)
ff7626bfc6
fix(wayland): segfault because of double free surfaces ( #34752 )
...
* Fix segfault because of double free surfaces
Signed-off-by: Wu Yuwei <yuweiwu@pm.me>
* Add warn log if glvideo is enabled on headless
Signed-off-by: Wu Yuwei <yuweiwu@pm.me>
* Add FIXME comment
Signed-off-by: Wu Yuwei <yuweiwu@pm.me>
---------
Signed-off-by: Wu Yuwei <yuweiwu@pm.me>
2024-12-24 06:47:38 +00:00
Steven Novaryo
d8b7195c75
Add check for valid custom element name in element::attach_shadow ( #34749 )
...
* Add valid custom element name check
Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
* Update wpt test expectation
Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
---------
Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
2024-12-24 03:36:57 +00:00
dependabot[bot]
ac372cf205
build(deps): bump bytemuck from 1.20.0 to 1.21.0 ( #34762 )
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.20.0 to 1.21.0.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.20.0...v1.21.0 )
---
updated-dependencies:
- dependency-name: bytemuck
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 03:01:44 +00:00
dependabot[bot]
3a891630f0
build(deps): bump base64 from 0.21.7 to 0.22.1 ( #34760 )
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.7 to 0.22.1.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.7...v0.22.1 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 03:01:31 +00:00
dependabot[bot]
303690fa6e
build(deps): bump truetype from 0.47.7 to 0.47.8 ( #34759 )
...
Bumps [truetype](https://github.com/bodoni/truetype ) from 0.47.7 to 0.47.8.
- [Commits](https://github.com/bodoni/truetype/commits )
---
updated-dependencies:
- dependency-name: truetype
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 03:01:28 +00:00
dependabot[bot]
3d48defece
build(deps): bump anyhow from 1.0.94 to 1.0.95 ( #34761 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.94...1.0.95 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 03:01:17 +00:00
dependabot[bot]
0488995cc2
build(deps): bump serde_json from 1.0.133 to 1.0.134 ( #34758 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.133 to 1.0.134.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.133...v1.0.134 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 03:01:15 +00:00
dependabot[bot]
6600285385
build(deps): bump object from 0.36.5 to 0.36.7 ( #34757 )
...
Bumps [object](https://github.com/gimli-rs/object ) from 0.36.5 to 0.36.7.
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/object/compare/0.36.5...0.36.7 )
---
updated-dependencies:
- dependency-name: object
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 03:01:12 +00:00
dependabot[bot]
6e55da2e85
build(deps): bump syn from 2.0.90 to 2.0.91 ( #34756 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.90 to 2.0.91.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.90...2.0.91 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 03:00:22 +00:00
dependabot[bot]
377c150724
build(deps): bump winit from 0.30.5 to 0.30.7 ( #34753 )
...
Bumps [winit](https://github.com/rust-windowing/winit ) from 0.30.5 to 0.30.7.
- [Release notes](https://github.com/rust-windowing/winit/releases )
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-windowing/winit/compare/v0.30.5...v0.30.7 )
---
updated-dependencies:
- dependency-name: winit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 00:26:19 +00:00
dependabot[bot]
5c765dc034
build(deps): bump bytemuck_derive from 1.8.0 to 1.8.1 ( #34755 )
...
Bumps [bytemuck_derive](https://github.com/Lokathor/bytemuck ) from 1.8.0 to 1.8.1.
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/bytemuck_derive-v1.8.0...bytemuck_derive-v1.8.1 )
---
updated-dependencies:
- dependency-name: bytemuck_derive
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 00:24:25 +00:00
dependabot[bot]
4d5e250bdf
build(deps): bump typeface from 0.4.2 to 0.4.3 ( #34754 )
...
Bumps [typeface](https://github.com/bodoni/typeface ) from 0.4.2 to 0.4.3.
- [Commits](https://github.com/bodoni/typeface/commits )
---
updated-dependencies:
- dependency-name: typeface
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 00:19:12 +00:00
Oriol Brufau
c17dddb27d
layout: Pass the right containing block to find_block_margin_collapsing_with_parent_from_slice()
( #34725 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-23 22:36:16 +00:00
Jonathan Schwender
8cf7de4943
Whitelist RUSTSEC-2024-0429 to fix CI ( #34765 )
...
Will be addressed in a follow-up issue
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-12-23 20:31:00 +00:00
Oriol Brufau
6be0a64939
layout: Implement keyword sizes for block layout heuristics ( #34695 )
...
Block layout uses some heuristics to guess whether margins are separated
by clearance and then don't collapse. These heuristics now take the
min-content, max-content, fit-content and stretch sizing keywords into
account.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-23 11:00:37 +00:00
Wulan Seruniati Salim
2ab66ce678
Optimize mutex usage in fetch by locking once and using scoped MutexGuard ( #34737 )
...
Signed-off-by: Wulan Seruniati Salim <wulanseruniati@gmail.com>
2024-12-22 11:14:57 +00:00
batu_hoang
b4bea0daf6
Convert http&https to ws&wss in websocket constructor ( #34735 )
...
Signed-off-by: batu_hoang <longvatrong111@gmail.com>
2024-12-22 10:52:24 +00:00
shanehandley
41f27ae80b
Implement referrerpolicy attribute on remaining elements ( #34736 )
...
Fixes #11861
Signed-off-by: Shane Handley <shanehandley@fastmail.com>
2024-12-22 10:31:27 +00:00
Oriol Brufau
09408ae10b
layout: Fix intrinsic contributions of anonymous blocks ( #34719 )
...
In order to compute the inline min-content and max-content contributions
of an anonymous block, we were finding its min-content and max-content
inline size with a SizeConstraint coming from the block size of the box.
However, anonymous blocks do not establish a containing block for their
contents, so this patch uses a SizeConstraint from the block size of the
containing block.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-22 06:42:21 +00:00
Servo WPT Sync
1157fa28b3
Update web-platform-tests to revision b'979291d49c1a8e3d811df117d9e6b5d399a6deb2' ( #34733 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
2024-12-22 01:37:35 +00:00
Samson
3d3e7a61b5
ci: Do not run bencher in MQ ( #34732 )
...
Fixes #34731
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-12-21 15:02:11 +00:00
Samson
044f399249
chore: Update mozjs to version without streams ( #34729 )
...
* Update to mozjs without streams
https://github.com/servo/mozjs/pull/540
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* switch to servo/mozjs
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-12-21 13:14:21 +00:00
dependabot[bot]
3f86e3d76c
build(deps): bump gpu-descriptor from 0.3.0 to 0.3.1 ( #34706 )
...
* build(deps): bump gpu-descriptor from 0.3.0 to 0.3.1
Bumps [gpu-descriptor](https://github.com/zakarumych/gpu-descriptor ) from 0.3.0 to 0.3.1.
- [Changelog](https://github.com/zakarumych/gpu-descriptor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zakarumych/gpu-descriptor/commits )
---
updated-dependencies:
- dependency-name: gpu-descriptor
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* De-duplicate hashbrown by updating indexmap.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
2024-12-21 07:19:14 +00:00
Samson
626ef037f3
Update wgpu for supporting TextureView.usage ( #34721 )
...
* Update wgpu and add support for TextureView.usage
53f40794f2
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Disable wgpu logging
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* remove unused wgpu features
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* new expect
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* re
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update deny.toml
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-12-21 05:18:27 +00:00
dependabot[bot]
1d5aac8875
build(deps): bump content-security-policy from 0.5.2 to 0.5.3 ( #34723 )
...
* build(deps): bump content-security-policy from 0.5.2 to 0.5.3
Bumps [content-security-policy](https://github.com/rust-ammonia/rust-content-security-policy ) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/rust-ammonia/rust-content-security-policy/releases )
- [Changelog](https://github.com/rust-ammonia/rust-content-security-policy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-ammonia/rust-content-security-policy/compare/v0.5.2...v0.5.3 )
---
updated-dependencies:
- dependency-name: content-security-policy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Allow duplicate base64.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
2024-12-21 02:56:00 +00:00
Mukilan Thiyagarajan
8a438ef644
ci: explictly install Clang 14 on Linux runners ( #34718 )
...
The nightly build jobs run on Ubuntu 20.04 to ensure the glibc version
is compatible with WPT.fyi runners. But this version of Ubuntu has an
older clang version (12) that is not compatible with mozjs.
This patch makes the nightly job for Linux explicity install Clang 14
using the KyleMayes/install-llvm-action@v2 action. The regular Linux job
still uses system Clang installation as there are failures when using
the github action.
Fixes #34713 .
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-12-20 18:58:09 +00:00
dependabot[bot]
de5be00a81
build(deps): bump png from 0.17.15 to 0.17.16 ( #34724 )
...
Bumps [png](https://github.com/image-rs/image-png ) from 0.17.15 to 0.17.16.
- [Changelog](https://github.com/image-rs/image-png/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image-png/compare/v0.17.15...v0.17.16 )
---
updated-dependencies:
- dependency-name: png
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-20 17:36:45 +00:00
dependabot[bot]
8a522cf86b
build(deps): bump env_filter from 0.1.2 to 0.1.3 ( #34722 )
...
Bumps [env_filter](https://github.com/rust-cli/env_logger ) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/env_filter-v0.1.2...env_filter-v0.1.3 )
---
updated-dependencies:
- dependency-name: env_filter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-20 17:25:42 +00:00
Jonathan Schwender
0dd8798148
servoshell: Remove duplicate egl bindings on android/ohos ( #34716 )
...
- The default value for SwapInterval is 1,
so setting it to 1 changes nothing
- We don't clear the screen immediately anymore, which was the only
useage of the egl bindings
this saves us from duplicated EGL bindings.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-12-20 15:08:09 +00:00
Oriol Brufau
65c65c9a6a
layout: Fix intrinsic contributions of tables ( #34696 )
...
If a table element had e.g. `width: 0px`, we were assuming that this was
its intrinsic min-content and max-content contributions.
However, tables are always at least as big as its min-content size, so
this patch floors the intrinsic contributions by that amount.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-20 14:04:56 +00:00
Josh Matthews
915901bdec
compositing: Invert check for webxr when determining animation status. ( #34715 )
...
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-12-20 12:15:13 +00:00
Martin Robinson
a5c461146f
script: Cache the <iframe>
list per-Document ( #34702 )
...
This change creates a new struct `IFrameCollection` that is used to
cache the list of `<iframe>`s in a `Document` as long as the
`Document`'s DOM has not changed. This prevent constantly iterating the
entire DOM during *update the rendering*, which runs up to 60 times per
second as well as for other operations.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-12-20 11:46:46 +00:00
Mukilan Thiyagarajan
adfee3daa5
mach: recreate .venv when .python-version changes ( #34712 )
...
The new images published in servo/ci-runners#12 should have `uv`
installed already and the initial build of servo triggered during the
base image construction will force the installation of the Python
version mentioned at the time of the image construction (3.12). When
.python-version changes, we can no longer use the .venv baked into the
image and must recreate the it to avoid activating the environment.
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-12-20 09:55:21 +00:00
Martin Robinson
50c9c72778
layout: Lay out Shadow DOM elements ( #34701 )
...
When an element is a shadow root, lay out the shadow root elements
instead of the non-shadow children.
This fixes some tests and introduces some failures, due to bugs in the
Shadow DOM implementation. In general, this is very low impact as the
Shadow DOM is still disabled by default. At least this gets elements
rendering when the preference is turned on though.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-12-19 19:24:42 +00:00
Samson
b7460bcb84
Set python version to 3.11 ( #34707 )
...
This will fix https://github.com/servo/servo/issues/34700
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-12-19 18:42:36 +00:00
dependabot[bot]
74d784e359
build(deps): bump libc from 0.2.168 to 0.2.169 ( #34704 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.168 to 0.2.169.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.169/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.168...0.2.169 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 17:52:00 +00:00
dependabot[bot]
c07ffeaf76
build(deps): bump truetype from 0.47.6 to 0.47.7 ( #34705 )
...
Bumps [truetype](https://github.com/bodoni/truetype ) from 0.47.6 to 0.47.7.
- [Commits](https://github.com/bodoni/truetype/commits )
---
updated-dependencies:
- dependency-name: truetype
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 17:51:03 +00:00
dependabot[bot]
acf73d54e9
build(deps): bump cc from 1.2.4 to 1.2.5 ( #34703 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.4...cc-v1.2.5 )
---
updated-dependencies:
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 17:44:34 +00:00
Gregory Terzian
4a8b5a8290
Remove the need for crow allow unrooted lints in the queuing and de-queuing of values from default stream controllers ( #34675 )
...
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
2024-12-19 05:41:37 +00:00
Ngo Iok Ui (Wu Yu Wei)
a0ca34d9e8
chore: remove deprecated winit method ( #34638 )
...
* Add ApplicationHandler stub
Signed-off-by: Wu Wayne <yuweiwu@pm.me>
* Implement ApplicationHandler
Signed-off-by: Wu Wayne <yuweiwu@pm.me>
* Abstract common methods
Signed-off-by: Wu Wayne <yuweiwu@pm.me>
* Impliment headless mode
Signed-off-by: Wu Yuwei <yuweiwu@pm.me>
* Apply suggestions
Signed-off-by: Wu Yuwei <yuweiwu@pm.me>
---------
Signed-off-by: Wu Wayne <yuweiwu@pm.me>
Signed-off-by: Wu Yuwei <yuweiwu@pm.me>
2024-12-19 05:21:09 +00:00
Oriol Brufau
fcf996196b
Reapply "Fix mozjs build on Windows ( #34680 )" ( #34693 )
...
This reverts commit bc0c8366f8
,
relanding commit 11424f90b3
.
Reason: it wasn't the cause behind #34688 .
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-12-19 05:01:12 +00:00
Oriol Brufau
e2a0ac07ff
Refactor box size computation ( #34671 )
...
in each layout logic, in order to correctly resolve sizing keywords.
This patch adds a new `Sizes` struct which holds the preferred, min and
max sizing values for one axis, and unifies the logic to resolve the
final size into there.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-12-19 00:52:18 +00:00