shanehandley
82bbff45b3
Retain the referrer policy when loading an about:blank iframe. ( #34432 )
...
This allows the referrer policy to be inherited correctly by the iframe.
Signed-off-by: Shane Handley <shanehandley@fastmail.com>
2024-11-30 06:15:36 +00:00
Jonathan Schwender
096439b35e
ohos: Specify SDK version more accurately. ( #34431 )
...
SDK Version 5.0.1 was recently released and bumps the
API-version to 13.
This means hvigor will refuse to package the app, since
we currently specify that our app targets API 12.
Hence, we clarify our version by also specifying the patch level.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-11-29 21:19:02 +00:00
dependabot[bot]
8daede2f45
build(deps): bump libc from 0.2.166 to 0.2.167 ( #34429 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.166 to 0.2.167.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.167/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.166...0.2.167 )
---
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-11-29 17:27:06 +00:00
dependabot[bot]
e1e9d0adbb
build(deps): bump cc from 1.2.1 to 1.2.2 ( #34428 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.2.1 to 1.2.2.
- [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.1...cc-v1.2.2 )
---
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-11-29 17:20:22 +00:00
Nico Burns
2dbda69534
Make Servo compatible with Stylo with prefers-color-scheme
support ( #34423 )
...
* Make Servo compatible with Stylo with prefer-color-scheme support
Signed-off-by: Nico Burns <nico@nicoburns.com>
Update imports to work with deduped version of stylo PR
Signed-off-by: Nico Burns <nico@nicoburns.com>
Switch back to stylo main branch
Signed-off-by: Nico Burns <nico@nicoburns.com>
* Fix unit tests
Signed-off-by: Nico Burns <nico@nicoburns.com>
* Update text expectations
Signed-off-by: Nico Burns <nico@nicoburns.com>
---------
Signed-off-by: Nico Burns <nico@nicoburns.com>
2024-11-29 13:48:28 +00:00
Oriol Brufau
19a7e95a6a
Refactor computation of preferred aspect ratios ( #34416 )
...
* Refactor computation of preferred aspect ratios
Computing min/max-content sizes required a ContainingBlock in order to
resolve the padding and border when determining the preferred aspect
ratio. However, all callers already knew the padding and border, so they
can compute the ratio themselves, and pass it directly instead of
the ContainingBlock.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Put preferred aspect ratio into ConstraintSpace
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
---------
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-11-29 11:40:52 +00:00
tanishka
16da1c2721
Ensure taffy uses margin when calling used_size_as_if_inline_element_from_content_box_sizes() ( #34421 )
...
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
2024-11-28 19:20:39 +00:00
dependabot[bot]
6daae7666e
build(deps): bump socket2 from 0.5.7 to 0.5.8 ( #34420 )
...
Bumps [socket2](https://github.com/rust-lang/socket2 ) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/rust-lang/socket2/releases )
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/socket2/commits )
---
updated-dependencies:
- dependency-name: socket2
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-11-28 17:44:54 +00:00
dependabot[bot]
13fa98e5fd
build(deps): bump bytes from 1.8.0 to 1.9.0 ( #34418 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.8.0 to 1.9.0.
- [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.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: bytes
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-11-28 17:38:56 +00:00
dependabot[bot]
c8adcdcbc6
build(deps): bump errno from 0.3.9 to 0.3.10 ( #34419 )
...
Bumps [errno](https://github.com/lambda-fairy/rust-errno ) from 0.3.9 to 0.3.10.
- [Release notes](https://github.com/lambda-fairy/rust-errno/releases )
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.9...v0.3.10 )
---
updated-dependencies:
- dependency-name: errno
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-11-28 17:38:43 +00:00
atbrakhi
d2d3407501
Move script gpu files into webgpu folder ( #34415 )
...
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
2024-11-28 14:24:15 +00:00
Oriol Brufau
a37ccc3e64
Use natural ratio for object-fit
( #34413 )
...
We were using the preferred aspect ratio provided by the `aspect-ratio`
property instead of the natural aspect ratio. However, the preferred
aspect ratio should only be used to size the replaced element. To paint
the replaced contents into that element we need the natural ratio.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-11-28 12:57:38 +00:00
Jonathan Schwender
895b8d30ea
ohos: fonts: Fix HalfwidthandFullwidthForms font fallback ( #34410 )
...
This codeblock contains chinese, japanese and korean characters,
so we add the simplified chinese and the CJK fallback fonts.
Additionally, we add the new CJK fallback font for the koren and
japanese unicode blocks, since the KR and JP fallback fonts
don't seem to be present on the latest OH versions anymore.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-11-28 11:03:05 +00:00
dependabot[bot]
f9eb32a515
build(deps): bump vergen-git2 from 1.0.1 to 1.0.2 ( #34400 )
...
Bumps [vergen-git2](https://github.com/rustyhorde/vergen ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/vergen_gix_1.0.1...vergen_gix_1.0.2 )
---
updated-dependencies:
- dependency-name: vergen-git2
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-11-28 06:18:12 +00:00
dependabot[bot]
fe98e2b549
build(deps): bump libc from 0.2.165 to 0.2.166 ( #34407 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.165 to 0.2.166.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.166/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.165...0.2.166 )
---
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-11-28 06:17:42 +00:00
Simon Wülker
9168375b33
Differentiate between missing/invalid value in make_enumerated_getter!
( #34412 )
...
* Create spec-compliant version of create_enumerated_getter
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Use new make_enumerated_getter! macro everywhere
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Remove old make_enumerated_getter macro
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Return lowercased value from make_enumerated_getter macro
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>
2024-11-28 00:54:03 +00:00
dependabot[bot]
612492b372
build(deps): bump tracing from 0.1.40 to 0.1.41 ( #34409 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.40 to 0.1.41.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.40...tracing-0.1.41 )
---
updated-dependencies:
- dependency-name: tracing
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-11-28 00:11:24 +00:00
Delan Azabani
d65a2e9797
Additional tracing for flex layout, inline layout, and fonts ( #34392 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2024-11-27 02:44:06 +00:00
Nico Burns
a4caa0efcb
Implement MallocSizeOf for markup5ever rather than xml5ever. ( #34403 )
...
The QualName type which MallocSizeOf is implemented for is a markup5ever
type which is re-exported in both html5ever and xml5ever.
Signed-off-by: Nico Burns <nico@nicoburns.com>
2024-11-27 01:21:41 +00:00
dependabot[bot]
ffca6abb3a
build(deps): bump litemap from 0.7.3 to 0.7.4 ( #34398 )
...
Bumps [litemap](https://github.com/unicode-org/icu4x ) from 0.7.3 to 0.7.4.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: litemap
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-11-26 19:39:00 +00:00
dependabot[bot]
1af3d46ea4
build(deps): bump itoa from 1.0.13 to 1.0.14 ( #34401 )
...
Bumps [itoa](https://github.com/dtolnay/itoa ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/itoa/releases )
- [Commits](https://github.com/dtolnay/itoa/compare/1.0.13...1.0.14 )
---
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>
2024-11-26 19:38:49 +00:00
dependabot[bot]
74d4e89ad5
build(deps): bump libc from 0.2.164 to 0.2.165 ( #34397 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.164 to 0.2.165.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.165/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.164...0.2.165 )
---
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-11-26 19:07:33 +00:00
dependabot[bot]
3a736c4a4e
build(deps): bump tracing-core from 0.1.32 to 0.1.33 ( #34399 )
...
Bumps [tracing-core](https://github.com/tokio-rs/tracing ) from 0.1.32 to 0.1.33.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-core-0.1.32...tracing-core-0.1.33 )
---
updated-dependencies:
- dependency-name: tracing-core
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-11-26 19:07:30 +00:00
dependabot[bot]
100bbe2eee
build(deps): bump vergen from 9.0.1 to 9.0.2 ( #34396 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/commits )
---
updated-dependencies:
- dependency-name: vergen
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-11-26 17:37:52 +00:00
dependabot[bot]
972bc76f9c
build(deps): bump wgpu-hal from 23.0.0 to 23.0.1 ( #34395 )
...
Bumps [wgpu-hal](https://github.com/gfx-rs/wgpu ) from 23.0.0 to 23.0.1.
- [Release notes](https://github.com/gfx-rs/wgpu/releases )
- [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/gfx-rs/wgpu/compare/wgpu-hal-v23.0.0...wgpu-hal-v23.0.1 )
---
updated-dependencies:
- dependency-name: wgpu-hal
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-11-26 17:37:16 +00:00
dependabot[bot]
6228bac13d
build(deps): bump calendrical_calculations from 0.1.1 to 0.1.2 ( #34394 )
...
Bumps [calendrical_calculations](https://github.com/unicode-org/icu4x ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: calendrical_calculations
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-11-26 17:36:04 +00:00
Oriol Brufau
d034385f76
Use an AtomicRefCell instead of a RwLock for caching intrinsic sizes ( #34384 )
...
It panics if the value is mutably borrowed concurrently, but this allows
it to perform better.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-11-26 13:35:41 +00:00
Nico Burns
63793ccbb7
Use webrender_api::units::DevicePixel
rather than style_traits::DevicePixel
unless interfacing with Stylo ( #34353 )
...
* Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo
Signed-off-by: Nico Burns <nico@nicoburns.com>
* Fix OpenHarmony build
Signed-off-by: Nico Burns <nico@nicoburns.com>
---------
Signed-off-by: Nico Burns <nico@nicoburns.com>
2024-11-25 23:42:04 +00:00
Nico Burns
97154d9cf8
Avoid laying out grid items and generating fragments if only inline size is requested ( #34352 )
...
* Layout: Short-circuit grid item layout if only inline size is requested
Signed-off-by: Nico Burns <nico@nicoburns.com>
* Layout: Avoid creating grid item fragments if only size is requested
Signed-off-by: Nico Burns <nico@nicoburns.com>
---------
Signed-off-by: Nico Burns <nico@nicoburns.com>
2024-11-25 21:32:52 +00:00
dependabot[bot]
fdaf44bbc0
build(deps): bump wgpu-core from 23.0.0 to 23.0.1 ( #34383 )
...
Bumps [wgpu-core](https://github.com/gfx-rs/wgpu ) from 23.0.0 to 23.0.1.
- [Release notes](https://github.com/gfx-rs/wgpu/releases )
- [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/gfx-rs/wgpu/compare/wgpu-core-v23.0.0...wgpu-core-v23.0.1 )
---
updated-dependencies:
- dependency-name: wgpu-core
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-11-25 18:49:08 +00:00
dependabot[bot]
5c59bc193e
build(deps): bump zerofrom from 0.1.4 to 0.1.5 ( #34382 )
...
Bumps [zerofrom](https://github.com/unicode-org/icu4x ) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits/ind/databake@0.1.5 )
---
updated-dependencies:
- dependency-name: zerofrom
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-11-25 18:42:23 +00:00
dependabot[bot]
2316ee4df7
build(deps): bump zerofrom-derive from 0.1.4 to 0.1.5 ( #34380 )
...
Bumps [zerofrom-derive](https://github.com/unicode-org/icu4x ) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits/ind/databake@0.1.5 )
---
updated-dependencies:
- dependency-name: zerofrom-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-11-25 18:24:33 +00:00
dependabot[bot]
5a59eac088
build(deps): bump yoke-derive from 0.7.4 to 0.7.5 ( #34379 )
...
Bumps [yoke-derive](https://github.com/unicode-org/icu4x ) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: yoke-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-11-25 18:22:18 +00:00
dependabot[bot]
0edd037f4c
build(deps): bump yoke from 0.7.4 to 0.7.5 ( #34378 )
...
Bumps [yoke](https://github.com/unicode-org/icu4x ) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/unicode-org/icu4x/releases )
- [Changelog](https://github.com/unicode-org/icu4x/blob/main/CHANGELOG.md )
- [Commits](https://github.com/unicode-org/icu4x/commits )
---
updated-dependencies:
- dependency-name: yoke
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-11-25 18:16:50 +00:00
dependabot[bot]
a8bf9d52b3
build(deps): bump async-compression from 0.4.17 to 0.4.18 ( #34377 )
...
Bumps [async-compression](https://github.com/Nullus157/async-compression ) from 0.4.17 to 0.4.18.
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/v0.4.17...v0.4.18 )
---
updated-dependencies:
- dependency-name: async-compression
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-11-25 18:16:43 +00:00
Oriol Brufau
ba061ec2b0
Refine logic for laying out flex item in column layout after #34346 ( #34372 )
...
- Clamp the stretch size to not be negative when the sum of padding,
borders and margins exceed the available space. This avoids a 2nd
layout.
- Avoid computing the inline content sizes if the result isn't needed.
- Instead of clamping both the min-content and max-content sizes to be
between the min and max constraints, just compute the fit-content size
first, and then clamp. Then `ContentSizes::map()` can be removed.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-11-25 16:17:54 +00:00
Gae24
c9e3d3e25e
Implement DataTransfer
and related interfaces ( #34205 )
...
* add datatransfer interfaces
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* implement DataTransfer interface
implemented Constructor, setter and getter for drop_effect and effect_allowed, Items and SetDragImage
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* implement DataTransferItem interface
Implemented Kind, Type, GetAsString, GetAsFile.
Marked DataTransfer as weakReferenceable to access its field
inside DataTransferItemList and DataTransferItem.
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* implement DataTransferItemList interface
implemented Lenght, Getter, Add, Remove, Clear
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* added DataTransfer's old interface
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* DataTransfer: implemented GetData, SetData, SetData
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* set Weakref to DataTransfer in DataTransferItemList and DataTransferItem
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* DataTransfer: implemented Types and Files
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* cleanup get_data, set_data, clear_data
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* fix clippy warning
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* add drag data store
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* fix DataTransfer's Types() behaviour
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* DataTransferItem: use the underlying drag data store
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* fix DataTransferItemList's getter and remove
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* fix clippy warnings
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
* update test expectations
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
---------
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
2024-11-25 10:49:04 +00:00
Jonathan Schwender
810a91ecac
Remove some unused dependencies ( #34355 )
...
* Remove unused deps
This doesn't seem to remove any deps from the workspace.
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* ohos: Remove gaol dependency
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
---------
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-11-25 10:29:58 +00:00
Delan Azabani
0d91da610a
[NFC] Remove unused metrics code ( #34370 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2024-11-25 08:29:37 +00:00
Delan Azabani
cb212633b6
Bump tracing-perfetto to 0.1.3 ( #34369 )
...
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2024-11-25 07:56:38 +00:00
Martin Robinson
c11e0e8e70
layout: Add a hit test item that covers all scroll frame contents ( #34347 )
...
When building scroll frames, add a special
`StackingContextContent::Fragment` type for a hit test that covers all
scroll frame contents. This makes it so that you don't have to be
hovering over actual content to scroll the scroll frame.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-11-24 19:04:57 +00:00
Josh Matthews
c60e4afbee
Support custom derives for generated types ( #34356 )
...
* script: Derive more Default implementations for dictionaries.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Support arbitrary derives on generated enums.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Support arbitrary derives for generated dictionaries.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Support arbitrary derives for generated unions.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Derive more impls for generated dicts and unions.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Implement FromStr for generated enums.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Fix clippy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* crown: Allow returning unrooted values from Default::default.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-11-24 18:15:50 +00:00
Josh Matthews
3faed9b921
Filter out webidl files based on special comments, and feature-gate webxr interfaces. ( #34348 )
...
* Filter out webidl files based on skip-if directives.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Don't build XR functionality without webxr feature.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Fix tidy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Adjust imports for file movement.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Fix clippy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Clean up webxr module import.
Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-11-24 18:01:35 +00:00
Josh Matthews
e956f3124c
Generate a trait abstracting over all known DOM interfaces ( #34357 )
...
* script: Generate trait for all DOM interfaces and parameterize generated Methods traits over it.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Update trait implementations with new generic type.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-11-24 07:35:14 +00:00
Servo WPT Sync
468f9cf014
Update web-platform-tests to revision b'6d461cc41e1a9951e1991a94f651e389b0ca24ba' ( #34360 )
...
Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
2024-11-24 01:40:36 +00:00
Nico Burns
5bd28f2abd
Add nicoburns to CODEOWNERS ( #34351 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com>
2024-11-23 09:44:31 +00:00
Nico Burns
9542466b31
Remove unnecessary clone in layout ( #34350 )
...
Signed-off-by: Nico Burns <nico@nicoburns.com>
2024-11-23 01:22:40 +00:00
Oriol Brufau
f943ba023a
Improve performance of column flexboxes ( #34346 )
...
If a flex item in a single-line column flex container stretches, then
we can know its final size. So instead of first laying it out using its
intrinsic inline size, and then stretching it later, we can use the
correct size from the very beginning.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-11-22 22:52:47 +00:00
dependabot[bot]
524c54640d
build(deps): bump cpufeatures from 0.2.15 to 0.2.16 ( #34345 )
...
Bumps [cpufeatures](https://github.com/RustCrypto/utils ) from 0.2.15 to 0.2.16.
- [Commits](https://github.com/RustCrypto/utils/compare/cpufeatures-v0.2.15...cpufeatures-v0.2.16 )
---
updated-dependencies:
- dependency-name: cpufeatures
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-11-22 17:09:53 +00:00
Simon Wülker
1198b26ec9
Implement ShadowRoot.innerHtml
attribute ( #34335 )
...
* Implement DocumentFragment::fragment_serialization_algorithm
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Implement ShadowRoot innerHtml attribute
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* cargo-clippy
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Reuse existing serialization code and move helpers into Node
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fix typo
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-11-22 17:07:01 +00:00