dependabot[bot]
fe7eb75a7b
build(deps): bump indexmap from 2.7.1 to 2.8.0 ( #35919 )
...
Bumps [indexmap](https://github.com/indexmap-rs/indexmap ) from 2.7.1 to 2.8.0.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.7.1...2.8.0 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2025-03-11 17:29:45 +00:00
dependabot[bot]
d77a568c3b
build(deps): bump once_cell from 1.20.3 to 1.21.0 ( #35916 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.20.3 to 1.21.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.3...v1.21.0 )
---
updated-dependencies:
- dependency-name: once_cell
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>
2025-03-11 17:18:00 +00:00
dependabot[bot]
3c3635d07c
build(deps): bump http from 1.2.0 to 1.3.0 ( #35915 )
...
Bumps [http](https://github.com/hyperium/http ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/hyperium/http/releases )
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/http/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: http
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>
2025-03-11 17:16:45 +00:00
Martin Robinson
373575040f
mach: Remove the create-wpt
command ( #35895 )
...
WPT tests are very specific to the directory in which they are created.
In addition, since `create-wpt` takes care of running `update-manifest`
it hides the fact that any future changes to tests need this command run
again. No other browser has a `create-wpt` command, instead developers
are expected to craft their own tests, usually by starting from an
example in the directory they create the test in. I think this works
fine for Servo.
Closes #35726 .
Closes #8427 .
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-03-11 12:34:49 +00:00
Simon Wülker
c5432fc0d2
Enable ShadowDom support by default ( #35899 )
...
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-03-11 11:17:06 +00:00
Martin Robinson
2464d0937f
base: Finish rename of TopLevelBrowsingContextId
to WebViewId
( #35896 )
...
The `WebViewId` name is a lot more descriptive these days to the casual
reader, so I think we can go ahead and finish the rename.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-03-11 10:56:10 +00:00
Oriol Brufau
81fe4bbb1e
Update env_logger to 0.11 to fix RUSTSEC-2025-0014 ( #35906 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-11 08:57:46 +00:00
Nico Burns
4611c8b0e1
Eliminate to_shmem dependency from servo_url ( #35897 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com>
2025-03-11 00:33:39 +00:00
Simon Wülker
fd0e2125c6
Keep a list of slot descendants on each shadow root ( #35802 )
...
This makes it much faster to traverse over the slot descendants of
a shadow root, which is a fairly costly part of "assign slottables to a tree".
This reduces the time it takes for the results to load on wpt.fyi from
over 3 minutes to about 5 seconds.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-03-10 23:11:20 +00:00
Oriol Brufau
0419a7818d
layout: Remove calculate_hypothetical_cross_size()
( #35821 )
...
One of the callers was only used for an assert, and it was passing an
inline size argument to a parameter expecting a block size, so it wasn't
making much sense anyways.
Just inline the code into the other caller, and for consistency remove
the assert for replaced elements too.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-10 20:38:44 +00:00
Taym Haddadi
a5cf04c479
script: implement ReadableByteStreamController ( #35410 )
...
* script: implement ReadableByteStreamController
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* implement can_copy_data_block_bytes and copy_data_block_bytes
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Remove BufferSource::Default
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* implement StartAlgorithmFulfillmentHandler, StartAlgorithmRejectionHandler, PullAlgorithmFulfillmentHandler, PullAlgorithmRejectionHandler for ReadableByteStreamController
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* implement perform_pull_into
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* fix build
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix clippy
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix build
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Remove RefCell from PullIntoDescriptor and QueueEntry
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Remove commented code
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* add perform_cancel_steps, perform_release_steps and perform_pull_steps
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* fix clippy
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* fix crown
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* unskip readable-byte-streams
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix CRASH
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* fix clippy
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix more CRASHS
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* fix more crashes
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix bad-buffers-and-views.any.js test
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Update test expectations
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix BorrowMutError crashes
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* fix view_byte_length test
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix non-transferable-buffers test
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Pass contexts as much as possible by reference
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Make respond_internal Fallible
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix crwon
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* fix process pull into descriptors using queue logic and resulting double-borrow
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
* Fix clippy
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* FIx more crashes
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix timeout tests
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix all tests
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Remove all error! logs
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Remove #[allow(unsafe_code)]
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix lint
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix tidy
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
* Fix test expectation
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
---------
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Co-authored-by: gterzian <2792687+gterzian@users.noreply.github.com>
2025-03-10 19:43:04 +00:00
dependabot[bot]
459aee27b6
build(deps): bump tokio from 1.43.0 to 1.44.0 ( #35890 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2025-03-10 17:18:10 +00:00
dependabot[bot]
19c9f016a4
build(deps): bump app_units from 0.7.7 to 0.7.8 ( #35889 )
...
Bumps [app_units](https://github.com/servo/app_units ) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/servo/app_units/releases )
- [Commits](https://github.com/servo/app_units/compare/v0.7.7...v0.7.8 )
---
updated-dependencies:
- dependency-name: app_units
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>
2025-03-10 17:06:00 +00:00
dependabot[bot]
789b00acf9
build(deps): bump serde from 1.0.218 to 1.0.219 ( #35887 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.218 to 1.0.219.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.218...v1.0.219 )
---
updated-dependencies:
- dependency-name: serde
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>
2025-03-10 16:57:33 +00:00
dependabot[bot]
8220ca5073
build(deps): bump syn from 2.0.99 to 2.0.100 ( #35886 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.99 to 2.0.100.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.99...2.0.100 )
---
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>
2025-03-10 16:57:28 +00:00
dependabot[bot]
fa1e853e4a
build(deps): bump serde_bytes from 0.11.16 to 0.11.17 ( #35885 )
...
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.16 to 0.11.17.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.16...0.11.17 )
---
updated-dependencies:
- dependency-name: serde_bytes
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>
2025-03-10 16:51:37 +00:00
Simon Wülker
ccd4b113a8
Don't run scripts in documents that don't have a browsing context ( #35871 )
...
* Don't run scripts in document that don't have a browsing context
For confirmation that this is correct, refer to the note under
Step 3 of https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring .
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-03-10 16:34:09 +00:00
boluochoufeng
1200617683
Fix the parsing error of PrefValue::Array, which is used for the parsing of Preferences shell_background_color_rgba field ( #35865 )
...
Signed-off-by: blycf <1355990831@qq.com>
2025-03-10 15:16:11 +00:00
chickenleaf
52119c339c
servoshell: Allow keyboard interaction with dialogs (enter / escape) ( #35673 )
...
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
2025-03-10 14:32:39 +00:00
Oriol Brufau
c6527c4118
layout: Support min/max cross keywords sizes in flexbox ( #35860 )
...
Adds support for min-content, max-content, fit-content and stretch on
the min and max cross size properties of a flex item.
With one exception: when resolving the main sizes, transferred cross
minimums and maximums will still ignore keywords.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-10 14:25:56 +00:00
Oriol Brufau
56da4ad959
layout: Only prevent fixed table layout when inline-size
is auto
( #35882 )
...
We were ignoring `table-layout: fixed` both for `inline-size: auto` and
`inline-size: max-content`. However, the CSSWG resolved that fixed table
layout should be triggered except when `inline-size` is `auto`.
https://github.com/w3c/csswg-drafts/issues/10937#issuecomment-2669150397
Blink has already adopted this change, and they modified the WPT
`/css/css-tables/fixed-layout-2.html` accordingly. Here I'm doing some
further cosmetic cleanups to the test.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-10 14:09:43 +00:00
Stephen Muss
79e25a3e77
Show correctly computed element display type in devtools ( #35870 )
...
Signed-off-by: Stephen Muss <stephenmuss@gmail.com>
2025-03-10 12:32:30 +00:00
Oriol Brufau
6cfa94f3bc
Add test for percentage sizes resolving against subpixel lengths ( #35809 )
...
Two floats with `width: 50%` each should fit on the same line,
and four floats with `width: 25%` each should fit on the same line.
That's even if the containing block width, expressed in layout units,
cannot be divided by 2 or 4.
This test checks cases that are tricky for browsers where 1 pixel
are either 60, 64 or 100 layout units.
It passes on other browsers but fails on Servo because of #34665 .
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-10 12:09:21 +00:00
Oriol Brufau
71c207ff25
layout: Handle keyword sizes when computing the hypothetical cross size ( #35826 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-10 12:06:33 +00:00
Xiaocheng Hu
b1e1e01ee9
Fix animation frame callback cancellation ( #35849 )
...
Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com>
2025-03-10 11:04:46 +00:00
shanehandley
7fc5dc5c69
script: use passive event listener option on AddEventListenerOptions ( #35877 )
...
Signed-off-by: Shane Handley <shanehandley@fastmail.com>
2025-03-10 09:44:16 +00:00
Simon Wülker
1b6b21cb85
Implement nonce
attribute to pass more CSP checks ( #35876 )
...
* Add doc comments to RequestBuilder fields/methods
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Implement Request::cryptographic_nonce_metadata
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Implement HTMLOrSVGElement::nonce
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Set request cryptographic nonce metadata for link elements
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Set request's cryptographic nonce when fetching scripts
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Forward request nonce to rust-content-security-policy
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-03-10 09:25:34 +00:00
DK Liao
ce4ba30992
feat: display file chosen for input file ( #35789 )
...
Signed-off-by: DK Liao <dklassic@gmail.com>
2025-03-10 03:55:38 +00:00
Kafji
34047f8da8
Allow domain-like as URL location input ( #35756 )
...
* Allow domain-like as URL location input
Before this patch, domain with subdomain (e.g. book.servo.org) won't be
treated as URL location.
This patch retifies that by adding Firefox's location bar behavior:
- book.servo.org is URL location
- book.servo.org. is URL location
- .book.servo.org is not URL location
Fixes #35754 .
Signed-off-by: Kafji <k@kafji.net>
* Chain location input interpretation attempts
Signed-off-by: Kafji <k@kafji.net>
---------
Signed-off-by: Kafji <k@kafji.net>
2025-03-10 03:24:48 +00:00
Simon Wülker
48aacc43b7
Register iframes with the devtools ( #35874 )
...
Previously, the devtools didn't know about
<iframe>s. They either ignored messages coming from
iframes or crashed.
This reverts https://github.com/servo/servo/pull/34032
and then filters out non-tab globals in the "listTabs"
message to the root actor.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-03-09 20:42:39 +00:00
Euclid Ye
4d73de3dde
layout: support CSS will-change ( #35787 )
...
* support CSS `will-change`
* update wpt-test result
* Enable css-will-change test
* Update css-will-change test results
* Check transformable before will-change; update wpt-results
* Solve merge conflict
* Update Cargo.toml and Cargo.lock
* Mark new failing test-cases
---------
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
2025-03-09 16:15:28 +00:00
Servo WPT Sync
66583ce3c9
Update web-platform-tests to revision b'c23b0ad587af296087067b48a2f2101233589a8f' ( #35869 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
2025-03-09 01:39:16 +00:00
Kingsley Yung
d0a306729d
Implement can-have-its-url-rewritten for history api ( #35864 )
...
Implement the helper function to verify whether the document can have
its URL rewritten to a new URL.
https://html.spec.whatwg.org/multipage/nav-history-apis.html#can-have-its-url-rewritten
Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
2025-03-08 16:04:42 +00:00
webbeef
aa76847502
Remove obsolete memory profiler console output ( #35861 )
...
Signed-off-by: webbeef <me@webbeef.org>
2025-03-08 02:41:08 +00:00
Oriol Brufau
2d28eb8f39
layout: Assert that hypothetical_cross_size
is already correct ( #35816 )
...
There doesn't seem to be a need to recompute it.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-07 21:58:38 +00:00
dependabot[bot]
bf5afe166e
build(deps): bump is-terminal from 0.4.15 to 0.4.16 ( #35855 )
...
Bumps [is-terminal](https://github.com/sunfishcode/is-terminal ) from 0.4.15 to 0.4.16.
- [Commits](https://github.com/sunfishcode/is-terminal/compare/v0.4.15...v0.4.16 )
---
updated-dependencies:
- dependency-name: is-terminal
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>
2025-03-07 19:18:40 +00:00
dependabot[bot]
3fc2c2b342
build(deps): bump itoa from 1.0.14 to 1.0.15 ( #35853 )
...
Bumps [itoa](https://github.com/dtolnay/itoa ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/itoa/releases )
- [Commits](https://github.com/dtolnay/itoa/compare/1.0.14...1.0.15 )
---
updated-dependencies:
- dependency-name: itoa
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>
2025-03-07 19:17:15 +00:00
dependabot[bot]
12e8f044e0
build(deps): bump prettyplease from 0.2.29 to 0.2.30 ( #35852 )
...
Bumps [prettyplease](https://github.com/dtolnay/prettyplease ) from 0.2.29 to 0.2.30.
- [Release notes](https://github.com/dtolnay/prettyplease/releases )
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.29...0.2.30 )
---
updated-dependencies:
- dependency-name: prettyplease
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>
2025-03-07 19:16:35 +00:00
dependabot[bot]
1ca3abb893
build(deps): bump pkg-config from 0.3.31 to 0.3.32 ( #35857 )
...
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs ) from 0.3.31 to 0.3.32.
- [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.31...0.3.32 )
---
updated-dependencies:
- dependency-name: pkg-config
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>
2025-03-07 19:15:29 +00:00
dependabot[bot]
2fb51f4bf0
build(deps): bump httparse from 1.10.0 to 1.10.1 ( #35846 )
...
Bumps [httparse](https://github.com/seanmonstar/httparse ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/seanmonstar/httparse/releases )
- [Commits](https://github.com/seanmonstar/httparse/compare/v1.10.0...v1.10.1 )
---
updated-dependencies:
- dependency-name: httparse
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>
2025-03-07 17:42:25 +00:00
dependabot[bot]
b6e0b313b2
build(deps): bump bytes from 1.10.0 to 1.10.1 ( #35845 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.10.0...v1.10.1 )
---
updated-dependencies:
- dependency-name: bytes
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>
2025-03-07 17:41:52 +00:00
Daniel Hast
34b000c86e
layout: Make transform-style: preserve-3d
establish a containing block for all descendants ( #35808 )
...
* layout: Fix behavior of `transform-style: preserve-3d`
This makes `transform-style: preserve-3d` establish a containing block
for all descendants, as specified here:
<https://drafts.csswg.org/css-transforms-2/#transform-style-property >
Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
* layout: Check for transformable elements
Adds a new `is_transformable` helper method and use this in several other
methods, including the methods for whether the fragment establishes a
new stacking context or a containing block for all descendants.
Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
* Use generic green square reference for reftest.
Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
* layout: Fix stacking context & containing block checks.
Only the computed value of `transform-style` should be used to determine
whether the element establishes a stacking context and/or a containing
block, not the used value.
Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
* Update clip-no-stacking-context test expectation to pass.
Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
---------
Signed-off-by: Daniel Hast <hast.daniel@protonmail.com>
2025-03-07 17:39:59 +00:00
Oriol Brufau
991635eefb
Ignore RUSTSEC-2024-0436 (crate paste
is unmaintained) ( #35854 )
...
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-07 17:38:20 +00:00
dependabot[bot]
aadb2e6723
build(deps): bump oorandom from 11.1.4 to 11.1.5 ( #35844 )
...
Bumps oorandom from 11.1.4 to 11.1.5.
---
updated-dependencies:
- dependency-name: oorandom
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>
2025-03-07 13:55:12 +00:00
dependabot[bot]
d870efeb6f
build(deps): bump content-security-policy from 0.5.3 to 0.5.4 ( #35843 )
...
Bumps [content-security-policy](https://github.com/rust-ammonia/rust-content-security-policy ) from 0.5.3 to 0.5.4.
- [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.3...v0.5.4 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-07 13:55:10 +00:00
dependabot[bot]
b01d806bdb
build(deps): bump ring from 0.17.11 to 0.17.13 ( #35842 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.11 to 0.17.13.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md )
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
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>
2025-03-07 13:55:00 +00:00
dependabot[bot]
db1c23569b
build(deps): bump egui_glow in the egui-related group ( #35838 )
...
Bumps the egui-related group with 1 update: [egui_glow](https://github.com/emilk/egui ).
Updates `egui_glow` from 0.31.0 to 0.31.1
- [Release notes](https://github.com/emilk/egui/releases )
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md )
- [Commits](https://github.com/emilk/egui/compare/0.31.0...0.31.1 )
---
updated-dependencies:
- dependency-name: egui_glow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: egui-related
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-07 13:49:02 +00:00
dependabot[bot]
18668e3042
build(deps): bump android_logger from 0.14.1 to 0.15.0 ( #35840 )
...
Bumps [android_logger](https://github.com/rust-mobile/android_logger-rs ) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/rust-mobile/android_logger-rs/releases )
- [Changelog](https://github.com/rust-mobile/android_logger-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-mobile/android_logger-rs/compare/0.14.1...v0.15.0 )
---
updated-dependencies:
- dependency-name: android_logger
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>
2025-03-07 13:49:00 +00:00
dependabot[bot]
50d5ea0fbf
build(deps): bump either from 1.14.0 to 1.15.0 ( #35841 )
...
Bumps [either](https://github.com/rayon-rs/either ) from 1.14.0 to 1.15.0.
- [Commits](https://github.com/rayon-rs/either/compare/1.14.0...1.15.0 )
---
updated-dependencies:
- dependency-name: either
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>
2025-03-07 13:48:51 +00:00
dependabot[bot]
d9fe326e22
build(deps): bump taffy from 0.7.6 to 0.7.7 ( #35839 )
...
Bumps [taffy](https://github.com/DioxusLabs/taffy ) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/DioxusLabs/taffy/releases )
- [Changelog](https://github.com/DioxusLabs/taffy/blob/v0.7.7/CHANGELOG.md )
- [Commits](https://github.com/DioxusLabs/taffy/compare/v0.7.6...v0.7.7 )
---
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>
2025-03-07 13:47:29 +00:00