Oriol Brufau
3543a87592
Allow currentColor in canvas context's shadowColor ( #30754 )
...
This allows unifying the parse_color function and method, aligns Servo
with other browsers, and obeys the HTML spec:
- https://html.spec.whatwg.org/multipage/canvas.html#shadows
- https://html.spec.whatwg.org/multipage/infrastructure.html#parsed-as-a-css-color-value
2023-11-20 11:03:18 +00:00
Servo WPT Sync
334c67a3cc
Update web-platform-tests to revision b'7aaad11d87d7a02515081e55609d31ab6ff173fc' ( #30753 )
2023-11-19 09:40:18 +00:00
dependabot[bot]
7086dd8f48
build(deps): bump rustls from 0.21.8 to 0.21.9 ( #30747 )
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.21.8 to 0.21.9.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.8...v/0.21.9 )
---
updated-dependencies:
- dependency-name: rustls
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>
2023-11-17 16:55:35 +00:00
dependabot[bot]
7c8ac54404
build(deps): bump etagere from 0.2.9 to 0.2.10 ( #30746 )
...
Bumps [etagere](https://github.com/nical/etagere ) from 0.2.9 to 0.2.10.
- [Commits](https://github.com/nical/etagere/commits )
---
updated-dependencies:
- dependency-name: etagere
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>
2023-11-17 16:44:27 +00:00
Martin Robinson
e83e7ded6e
Remove use of proc_macro_diagnostics feature ( #30745 )
...
This is only used to emit a single error, which can be done using `syn`.
Removing the use of this feature brings us close to being to able to
compile with stable rust.
2023-11-17 10:36:09 +00:00
Martin Robinson
8de4629a3c
Remove usage of drain_filter
( #30742 )
...
This is a step on the way toward supporting stable rust.
2023-11-17 10:28:33 +00:00
Martin Robinson
50732b49c5
Remove Servo window.trap()
extension ( #30743 )
...
This Servo-specific extension is unused by any code in the repository
and removing it allows us to remove use of nightly only reliance on
rust intrinsics. This is a step toward supporting stable rust.
2023-11-17 07:43:26 +00:00
dependabot[bot]
378fdbe225
build(deps): bump errno from 0.3.6 to 0.3.7 ( #30744 )
...
Bumps [errno](https://github.com/lambda-fairy/rust-errno ) from 0.3.6 to 0.3.7.
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.6...v0.3.7 )
---
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>
2023-11-16 17:00:53 +00:00
dependabot[bot]
b92c6238e6
build(deps): bump rustix from 0.38.23 to 0.38.24 ( #30738 )
...
* build(deps): bump rustix from 0.38.23 to 0.38.24
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.23 to 0.38.24.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.23...v0.38.24 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update expectation for column-count-crash.https.html
The test has been intermittently crashing on CI but only
for legacy layout - see #30741
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2023-11-16 08:37:48 +00:00
dependabot[bot]
1d905e28f4
build(deps): bump termcolor from 1.3.0 to 1.4.0 ( #30736 )
...
Bumps [termcolor](https://github.com/BurntSushi/termcolor ) from 1.3.0 to 1.4.0.
- [Commits](https://github.com/BurntSushi/termcolor/compare/1.3.0...1.4.0 )
---
updated-dependencies:
- dependency-name: termcolor
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>
2023-11-15 12:30:55 +00:00
dependabot[bot]
b25c2ffd28
build(deps): bump rustix from 0.38.21 to 0.38.23 ( #30737 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.21 to 0.38.23.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.21...v0.38.23 )
---
updated-dependencies:
- dependency-name: rustix
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>
2023-11-15 07:16:12 +00:00
Servo WPT Sync
3fc584d1a1
Sync WPT with upstream (12-11-2023) ( #30724 )
...
* Update web-platform-tests to revision b'46476776fdbf0a62522621002ba8af68e4d478b6'
* wpt import: update expectation
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
---------
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2023-11-15 05:55:31 +00:00
Delan Azabani
354d1d8d11
docs: add try job labels to CONTRIBUTING ( #30615 )
...
* docs: add try job comments and labels to CONTRIBUTING
* update for #30712
* clarify what to do if you don’t have permission to add labels
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* s/compile/compilation/
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2023-11-15 02:59:29 +00:00
dependabot[bot]
0cc093548e
build(deps): bump http from 0.2.10 to 0.2.11 ( #30730 )
...
Bumps [http](https://github.com/hyperium/http ) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/hyperium/http/releases )
- [Changelog](https://github.com/hyperium/http/blob/v0.2.11/CHANGELOG.md )
- [Commits](https://github.com/hyperium/http/compare/v0.2.10...v0.2.11 )
---
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>
2023-11-14 10:42:59 +00:00
atbrakhi
1e5db618d0
Fix Servo taking a long time to start on MacOS after a recompile ( #30726 )
...
* update init as we initialize media in the background now
With [#405 ](https://github.com/servo/media/pull/405 ) changes in
servo/media we move initialization of the media engine to a
background thread. This PR updates the init function in libservo
to adapt that behaviour.
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* review fix: simplify code
* Update media
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2023-11-14 10:15:02 +00:00
Delan Azabani
098e6a1580
constellation: clean up logging of pipelines and browsing contexts ( #30657 )
...
* constellation: clean up logging of pipelines and browsing contexts
* bring back sentence case; remove commented code
* fix more typos and wordings
2023-11-14 04:53:31 +00:00
Samson
e620381736
Pin pyopenssl ( #30728 )
...
* Update requirements.txt
* Update requirements.txt
* Update python/requirements.txt
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2023-11-13 13:17:08 +00:00
Martin Robinson
e44ea6290a
bootstrap: Alphabetize and add 'm4' Ubuntu dependency ( #30727 )
...
It looks like `m4` is now required for builds on Debian-like systems.
2023-11-13 12:06:26 +00:00
Martin Robinson
72cb34dc3d
Fix transform assertion failures in Layout 2013 and Layout 2020 ( #30713 )
...
Layout asserts that it never creates stacking contexts that have a zero
scale, yet it doesn't prevent the creation of those stacking contexts.
This change stops their creation at an earlier stage.
Fixes #30118 .
2023-11-13 09:09:25 +00:00
dependabot[bot]
1915032f66
build(deps): bump tokio from 1.33.0 to 1.34.0 ( #30720 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.33.0...tokio-1.34.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>
2023-11-11 15:40:54 +00:00
Ngo Iok Ui (Wu Yu Wei)
44d79269f4
Fix servoshell can't respond when there's no minibrowser ( #30598 )
...
* Fix servoshell can't respond when there's no minibrowser
* Remove external_field and update documentation
* Update documentation
* Fix crash when handling ReadyToPresent if it's headless mode
* Fix some wpt tests got timedout
2023-11-11 06:45:27 +00:00
dependabot[bot]
d8e93fa408
build(deps): bump http from 0.2.8 to 0.2.10 ( #30721 )
...
Bumps [http](https://github.com/hyperium/http ) from 0.2.8 to 0.2.10.
- [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/v0.2.8...v0.2.10 )
---
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>
2023-11-10 17:28:25 +00:00
dependabot[bot]
6068fe2110
build(deps): bump smallvec from 1.11.1 to 1.11.2 ( #30719 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: smallvec
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>
2023-11-10 17:22:31 +00:00
dependabot[bot]
d67fc424e0
build(deps): bump rustls-pemfile from 1.0.3 to 1.0.4 ( #30718 )
...
Bumps [rustls-pemfile](https://github.com/rustls/pemfile ) from 1.0.3 to 1.0.4.
- [Commits](https://github.com/rustls/pemfile/compare/v/1.0.3...v/1.0.4 )
---
updated-dependencies:
- dependency-name: rustls-pemfile
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>
2023-11-10 17:01:49 +00:00
Samson
96d37d3785
Add --production
option to mach ( #30707 )
...
* --prod(uction) mach argument
* Use profile in workflows instead of production
* Use profiles in unit tests
* ups
* Build (${{ inputs.profile }})
2023-11-10 10:38:33 +00:00
Tamir Duberstein
c78b98252a
README.md: update reference to rust-toolchain(.toml) ( #30715 )
...
See fef332f385
.
2023-11-10 07:50:38 +00:00
atbrakhi
bbbdb77a7a
Handle URL without scheme ( #30148 )
...
* cleanup and move user input logix into servoshell
* fix fmt
* add more tests
* rename sanitize_url and add location bar test for unix system
* fmt and missing rename
* check for host, fix test-error
* remove println, add condtion for not-none
* fmt
* clean up
* review update
* fix build failure cause by embedder_traits::resources
* add cfg target-os windows
* fmt
* use to_file_path() instead of path()
2023-11-09 16:37:22 +00:00
Martin Robinson
fe7bdb7e4b
Remove support for triggering try from comments ( #30712 )
...
Triggering from labels means that we have less actions running and less
false job failures spamming project members. Plus, we have more
flexibility with labels rather than the backward compatibility we have
set up for bors comments.
2023-11-09 10:31:49 +00:00
Martin Robinson
c529bfa49e
Remove some stray references to OpenSSL ( #30710 )
...
These were left over from the change to use rustls.
2023-11-09 09:17:19 +00:00
dependabot[bot]
149c322639
build(deps): bump getrandom from 0.2.10 to 0.2.11 ( #30711 )
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.10 to 0.2.11.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.10...v0.2.11 )
---
updated-dependencies:
- dependency-name: getrandom
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>
2023-11-08 17:05:02 +00:00
dependabot[bot]
c467528dec
build(deps): bump linux-raw-sys from 0.4.10 to 0.4.11 ( #30709 )
...
Bumps [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys ) from 0.4.10 to 0.4.11.
- [Commits](https://github.com/sunfishcode/linux-raw-sys/compare/v0.4.10...v0.4.11 )
---
updated-dependencies:
- dependency-name: linux-raw-sys
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>
2023-11-08 16:55:16 +00:00
Martin Robinson
e0c0b65e2a
Inherit secrets in the main workflow ( #30708 )
...
This is an attempt to fix results in the intermittent tracker.
2023-11-08 14:23:54 +00:00
atbrakhi
3c57f2cb44
Use Au
instead of Length
in flexbox code ( #30704 )
...
* convert border and padding to app units in flexbox
* convert margin to app units in flexbox
* cleanup, fmt
* add todo comment
* fmt
* add comment
* use Length instead of CSSPixelLength: they are same
2023-11-08 14:23:43 +00:00
dependabot[bot]
e44f17c3df
build(deps): bump serde from 1.0.190 to 1.0.192 ( #30706 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.190 to 1.0.192.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.192 )
---
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>
2023-11-07 17:25:37 +00:00
dependabot[bot]
52fa105e8f
build(deps): bump errno from 0.3.5 to 0.3.6 ( #30705 )
...
Bumps [errno](https://github.com/lambda-fairy/rust-errno ) from 0.3.5 to 0.3.6.
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.5...v0.3.6 )
---
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>
2023-11-07 17:09:05 +00:00
dependabot[bot]
1db357456a
build(deps): bump etagere from 0.2.8 to 0.2.9 ( #30698 )
...
Bumps [etagere](https://github.com/nical/etagere ) from 0.2.8 to 0.2.9.
- [Commits](https://github.com/nical/etagere/commits )
---
updated-dependencies:
- dependency-name: etagere
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>
2023-11-06 19:38:14 +00:00
dependabot[bot]
ecc1bdd797
build(deps): bump libc from 0.2.149 to 0.2.150 ( #30702 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.149 to 0.2.150.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.149...0.2.150 )
---
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>
2023-11-06 16:50:00 +00:00
dependabot[bot]
81dba33cf6
build(deps): bump syn from 2.0.38 to 2.0.39 ( #30699 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.38 to 2.0.39.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.38...2.0.39 )
---
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>
2023-11-06 16:45:16 +00:00
dependabot[bot]
1ab2c7b127
build(deps): bump vergen from 8.2.5 to 8.2.6 ( #30697 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 8.2.5 to 8.2.6.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.5...8.2.6 )
---
updated-dependencies:
- dependency-name: vergen
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>
2023-11-06 16:41:32 +00:00
dependabot[bot]
96892a2c96
build(deps): bump orbclient from 0.3.46 to 0.3.47 ( #30700 )
...
Bumps orbclient from 0.3.46 to 0.3.47.
---
updated-dependencies:
- dependency-name: orbclient
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>
2023-11-06 16:41:05 +00:00
Oriol Brufau
1b20d5e67a
Update test expectations
2023-11-06 09:35:57 +01:00
Oriol Brufau
ecc6ba79b0
Further changes required by Servo
2023-11-06 09:35:57 +01:00
CanadaHonk
a8fef9d4f2
style: Serialize NaN and infinity angles as per spec
...
`NaN`, `infinity`, and `-infinity` angles should be specially serialized.
Also fixed a few relevant WPT tests which did not follow spec.
(see https://github.com/web-platform-tests/wpt/pull/38825 )
Adjusted WPT test expectations, 40 newly pass 🎉
Differential Revision: https://phabricator.services.mozilla.com/D171658
2023-11-06 09:35:57 +01:00
Oriol Brufau
7b28572309
Further changes required by Servo
2023-11-06 09:35:57 +01:00
Boris Chiou
a41194a318
style: Make <ray-size> optional and default to 'closest-side'
...
Per the spec update, the new syntax is:
`ray() = ray( <angle> && <ray-size>? && contain? )`
And for `<ray-size>`:
"If no <ray-size> is specified it defaults to closest-side."
So `<ray-size>` is optional and we omit it if it's default value, for
serialization.
By the way, offset=* properties are supported only in Gecko, so we don't
need a servo function to check the preference.
Differential Revision: https://phabricator.services.mozilla.com/D171625
2023-11-06 09:35:57 +01:00
Emilio Cobos Álvarez
860a6c2fe6
style: Move legacy -moz-box collapse to its own CSS property
...
Make display: -moz-box's visibility: collapse handling switchable by its
own CSS property.
Longer term maybe we should switch the front-end away from visibility:
collapse altogether (there are some alternatives), but for now this will
allow to move the front-end to switch to modern `display: flex` while
keeping `visibility: collapse` work as in -moz-box.
Differential Revision: https://phabricator.services.mozilla.com/D171472
2023-11-06 09:35:57 +01:00
Oriol Brufau
34eb94c71e
Further changes required by Servo
2023-11-06 09:35:57 +01:00
Em Zhan
21d1bdeb9b
style: Implement CSS exponential functions
...
Differential Revision: https://phabricator.services.mozilla.com/D170842
2023-11-06 09:35:57 +01:00
Boris Chiou
0b20b343e6
style: Support offset-position in the style system
...
Also, we make it animatable but don't apply it to the motion transform and
don't run it on the compositor for now (so it works for getComputedStyle but
doesn't have rendering result).
Per spec: https://w3c.github.io/csswg-drafts/css-values/#calc-serialize ,
we tweak the WPT to let calc() serialize the percentage first, and maintain
zero-valued terms, i.e. 0%. (We are doing the same thing as
offset-anchor, so it should be fine with other browsers.)
Besides, I tweak the serialization of shorthand a little bit so we match
the implementation of WebKit.
Differential Revision: https://phabricator.services.mozilla.com/D170972
2023-11-06 09:35:57 +01:00
Emilio Cobos Álvarez
1b40d30f88
style: Fix appearance-cssom-001.html
...
* Remove some legacy appearance aliases that other engines don't
implement.
* Allow to pass with unimplemented <compat-auto> values, since per the
spec the idea of these is to get them removed, see
https://github.com/w3c/csswg-drafts/issues/8506 for the ones we don't
implement.
* Also allow the `-moz-` prefix to be implemented, because we can't
quite get rid of it (people use it to remove the <input type=number>
buttons with -moz-appearance: textfield and so on), and the
alternative is to implement a bunch of non-standard ::-webkit-
pseudo-elements.
Differential Revision: https://phabricator.services.mozilla.com/D171243
2023-11-06 09:35:57 +01:00