aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove legacy layout (layout 2013) (#35943)Oriol Brufau2025-03-1317224-1584835/+23
| | | | | | We were already not compiling it and not running tests on it by default. So it's simpler to just completely remove it. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Improve logic for establishing a stacking context (#35947)Oriol Brufau2025-03-1333-105/+224
| | | | | | | | | | In particular: - `z-index` will now work on unpositioned grid items. - `will-change: z-index` will only establish a stacking context if `z-index` applies, i.e. if the box is positioned or a flex/grid item. - The conditions in `establishes_stacking_context()` are reordered, so that the most likely ones are checked first. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* compositing: Move `cursor_pos` member and update it in `update_cursor()` ↵Simon B / GrausamkeitEnjoyer / God's Eye View Developer2025-03-132-8/+11
| | | | | | | | | | | | | | | (#35934) Previously a member of IOCompositor, the `cursor_pos` DevicePoint did not reflect the true position of the cursor. This caused flickering on mouse hover, see [issue #35875.] The value of `cursor_pos` within IOCompositor was always (x=0, y=0) regardless of the true cursor position (it was never updated, must be a bug or an oversight?). Moving `cursor_pos` to `ServoRenderer`, updating `cursor_pos` on `dispatch_input_event()`, and storing cursor position in `ServoRenderer` through method `update_cursor()` fixes the flickering previously observed. Signed-off-by: devgev <leifminfagel@gmail.com>
* layout: Remove special height logic of replaced element with auto width (#35275)Oriol Brufau2025-03-139-114/+80
| | | | | | | | | | | | | When computing the intrinsic block size of a replaced element with a computed preferred inline size of `auto`, instead of transferring the final inline size through the aspect ratio, we were only transferring the min and max constraints. We did this to match other browsers, but Ian Kilpatrick agreed that this is a bug and plans to change Blink. CSSWG issue: https://github.com/w3c/csswg-drafts/issues/11236 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Change github workflows to not compile legacy layout (#35946)Oriol Brufau2025-03-126-36/+5
| | | | | Since it will be removed in #35943 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* build(deps): bump http from 1.3.0 to 1.3.1 (#35938)dependabot[bot]2025-03-121-21/+21
| | | | | | | | | | | | | | | | Bumps [http](https://github.com/hyperium/http) from 1.3.0 to 1.3.1. - [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.3.0...v1.3.1) --- updated-dependencies: - dependency-name: http 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>
* Set `is` value when constructing custom elements with the `new` operator ↵Simon Wülker2025-03-127-373/+71
| | | | | | | | | | | | | | | | | | | | | | | (#35930) * Add doc comments throughout the code Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Set is-value for elements constructed with the "new" operator Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Allow custom elements to extend <slot> 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>
* build(deps): bump quote from 1.0.39 to 1.0.40 (#35941)dependabot[bot]2025-03-121-2/+2
| | | | | | | | | | | | | | | Bumps [quote](https://github.com/dtolnay/quote) from 1.0.39 to 1.0.40. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.39...1.0.40) --- updated-dependencies: - dependency-name: quote 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>
* build(deps): bump winnow from 0.7.3 to 0.7.4 (#35940)dependabot[bot]2025-03-121-2/+2
| | | | | | | | | | | | | | | Bumps [winnow](https://github.com/winnow-rs/winnow) from 0.7.3 to 0.7.4. - [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md) - [Commits](https://github.com/winnow-rs/winnow/compare/v0.7.3...v0.7.4) --- updated-dependencies: - dependency-name: winnow 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>
* build(deps): bump aws-lc-rs from 1.12.5 to 1.12.6 (#35937)dependabot[bot]2025-03-121-13/+11
| | | | | | | | | | | | | | | Bumps [aws-lc-rs](https://github.com/aws/aws-lc-rs) from 1.12.5 to 1.12.6. - [Release notes](https://github.com/aws/aws-lc-rs/releases) - [Commits](https://github.com/aws/aws-lc-rs/compare/v1.12.5...v1.12.6) --- updated-dependencies: - dependency-name: aws-lc-rs 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>
* build(deps): bump ring from 0.17.13 to 0.17.14 (#35936)dependabot[bot]2025-03-121-3/+3
| | | | | | | | | | | | | | | Bumps [ring](https://github.com/briansmith/ring) from 0.17.13 to 0.17.14. - [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>
* build(deps): bump http-body-util from 0.1.2 to 0.1.3 (#35939)dependabot[bot]2025-03-121-3/+3
| | | | | | | | | | | | | | | Bumps [http-body-util](https://github.com/hyperium/http-body) from 0.1.2 to 0.1.3. - [Release notes](https://github.com/hyperium/http-body/releases) - [Commits](https://github.com/hyperium/http-body/compare/http-body-util-v0.1.2...http-body-util-v0.1.3) --- updated-dependencies: - dependency-name: http-body-util 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>
* build(deps): bump libc from 0.2.170 to 0.2.171 (#35917)dependabot[bot]2025-03-121-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.170 to 0.2.171. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.171/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.170...0.2.171) --- 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>
* canvas: Do not update ImageKey during canvas layout (#35719)Samson2025-03-1217-126/+90
| | | Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* deps: Correct stylo branch name (#35932)Martin Robinson2025-03-122-20/+20
| | | | | | | The `mirror` script in the stylo repository should determine the branch name after an upgrade. By accident the wrong branch name was assigned manually. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* bhs: Remove direct link to `liblzma` (#35924)Martin Robinson2025-03-121-5/+0
| | | | | | | This workaround doesn't seem to be necessary any longer. Fixes #35914. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Remove message from WebGL subtest name and remove stale expectations (#35791)Samson2025-03-12616-18472/+19771
| | | | | | | | | | | | | | | * Remove message from WebGL subtest name This causes stale expectations: https://github.com/servo/servo/issues/35750 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Upgrade Stylo to 2025-03-01 (#35925)Nico Burns2025-03-123-24/+21
| | | Signed-off-by: Nico Burns <nico@nicoburns.com>
* Implement `ElementInternals::shadowRoot` (#35923)Simon Wülker2025-03-127-12/+44
| | | | | | | | | | | | | * Implement ElementInternals::shadowRoot 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>
* Use new stylo crate renames (#35898)Nico Burns2025-03-12105-179/+178
| | | Signed-off-by: Nico Burns <nico@nicoburns.com>
* Bump Stylo to from a93e7ef to 4add86f (#34714)Asun02042025-03-112-14/+12
| | | | | | | | | | | | | | | https://github.com/servo/stylo/compare/a93e7efd1b4ce73d5a1b3df2337f5d16d3de121e...4add86f53a05ee27c13db998465e83e1ed733871 - servo/stylo#134 Remove unnecessary imports - servo/stylo#133 Reinstate missing gecko-specific import - servo/stylo#135 fix: add atoms "show" - servo/stylo#102 Use truncation instead of rounding to resolve percentages into app units Signed-off-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* layout: Fix interaction of margin and stretch size on block-level boxes (#35904)Oriol Brufau2025-03-1114-120/+379
| | | | | | | | | | | | | The CSSWG resolved that `block-size: stretch` on a block-level box stretches the margin box to fill the parent. However, if the parent doesn't have padding nor border, and doesn't establish an independent formatting context, then we assume that the margins will collapse. Therefore, we treat the margins as zero when resolving the stretch size, regardless of whether they will actually end up collapsing. https://github.com/w3c/csswg-drafts/issues/11044#issuecomment-2599101601 https://drafts.csswg.org/css-sizing-4/#stretch-fit-sizing Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* ohos: Remove direct link to ace_napi.z (#35921)Jonathan Schwender2025-03-111-4/+0
| | | | | | The underlying issue was solved in napi-ohos 1.0.2, and we have already updated to 1.0.4 Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* Allow try runs to all users with label permissions (#35911)Samson2025-03-111-11/+0
| | | | | https://servo.zulipchat.com/#narrow/channel/263398-general/topic/Contributors.20do.20not.20seem.20to.20have.20try.20job.20permissions/with/504859292 Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
* build(deps): bump clap from 4.5.31 to 4.5.32 (#35918)dependabot[bot]2025-03-111-4/+4
| | | | | | | | | | | | | | | | Bumps [clap](https://github.com/clap-rs/clap) from 4.5.31 to 4.5.32. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.5.31...clap_complete-v4.5.32) --- updated-dependencies: - dependency-name: clap 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>
* build(deps): bump indexmap from 2.7.1 to 2.8.0 (#35919)dependabot[bot]2025-03-112-3/+3
| | | | | | | | | | | | | | | 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>
* build(deps): bump once_cell from 1.20.3 to 1.21.0 (#35916)dependabot[bot]2025-03-111-2/+2
| | | | | | | | | | | | | | | 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>
* build(deps): bump http from 1.2.0 to 1.3.0 (#35915)dependabot[bot]2025-03-112-22/+22
| | | | | | | | | | | | | | | | 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>
* mach: Remove the `create-wpt` command (#35895)Martin Robinson2025-03-111-162/+26
| | | | | | | | | | | | | | 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>
* Enable ShadowDom support by default (#35899)Simon Wülker2025-03-113-3/+3
| | | Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* base: Finish rename of `TopLevelBrowsingContextId` to `WebViewId` (#35896)Martin Robinson2025-03-1122-570/+416
| | | | | | 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>
* Update env_logger to 0.11 to fix RUSTSEC-2025-0014 (#35906)Oriol Brufau2025-03-112-15/+110
| | | Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Eliminate to_shmem dependency from servo_url (#35897)Nico Burns2025-03-114-12/+0
| | | Signed-off-by: Nico Burns <nico@nicoburns.com>
* Keep a list of slot descendants on each shadow root (#35802)Simon Wülker2025-03-103-13/+89
| | | | | | | | | 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>
* layout: Remove `calculate_hypothetical_cross_size()` (#35821)Oriol Brufau2025-03-101-34/+23
| | | | | | | | | | 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>
* script: implement ReadableByteStreamController (#35410)Taym Haddadi2025-03-1030-323/+3409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* build(deps): bump tokio from 1.43.0 to 1.44.0 (#35890)dependabot[bot]2025-03-101-3/+3
| | | | | | | | | | | | | | | 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>
* build(deps): bump app_units from 0.7.7 to 0.7.8 (#35889)dependabot[bot]2025-03-101-2/+2
| | | | | | | | | | | | | | | 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>
* build(deps): bump serde from 1.0.218 to 1.0.219 (#35887)dependabot[bot]2025-03-102-5/+5
| | | | | | | | | | | | | | | 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>
* build(deps): bump syn from 2.0.99 to 2.0.100 (#35886)dependabot[bot]2025-03-101-2/+2
| | | | | | | | | | | | | | | 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>
* build(deps): bump serde_bytes from 0.11.16 to 0.11.17 (#35885)dependabot[bot]2025-03-101-2/+2
| | | | | | | | | | | | | | | 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>
* Don't run scripts in documents that don't have a browsing context (#35871)Simon Wülker2025-03-104-3/+8
| | | | | | | | | | | | | | | | * 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>
* Fix the parsing error of PrefValue::Array, which is used for the parsing of ↵boluochoufeng2025-03-101-2/+2
| | | | | Preferences shell_background_color_rgba field (#35865) Signed-off-by: blycf <1355990831@qq.com>
* servoshell: Allow keyboard interaction with dialogs (enter / escape) (#35673)chickenleaf2025-03-101-11/+33
| | | Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* layout: Support min/max cross keywords sizes in flexbox (#35860)Oriol Brufau2025-03-107-214/+79
| | | | | | | | 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>
* layout: Only prevent fixed table layout when `inline-size` is `auto` (#35882)Oriol Brufau2025-03-104-33/+27
| | | | | | | | | | | | 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>
* Show correctly computed element display type in devtools (#35870)Stephen Muss2025-03-103-1/+10
| | | Signed-off-by: Stephen Muss <stephenmuss@gmail.com>
* Add test for percentage sizes resolving against subpixel lengths (#35809)Oriol Brufau2025-03-104-0/+168
| | | | | | | | | | | 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>
* layout: Handle keyword sizes when computing the hypothetical cross size (#35826)Oriol Brufau2025-03-103-29/+14
| | | Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Fix animation frame callback cancellation (#35849)Xiaocheng Hu2025-03-102-23/+8
| | | Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com>