Emilio Cobos Álvarez
76e8eeda72
style: Make image-set without valid images render nothing
...
Differential Revision: https://phabricator.services.mozilla.com/D172341
2023-11-21 15:36:35 +01:00
Boris Chiou
29105eeb49
style: Re-define CoordPair struct
...
Redefine/Rename the fields in CoordPair to align the data members of gfx::Point.
Differential Revision: https://phabricator.services.mozilla.com/D5903
2023-11-21 15:36:35 +01:00
Ziran Sun
29a9f0da46
style: Add popover attribute and part of basic popover functionality
...
Starts to add part of the basic functionality for popover. Including
[1] :open & :closed CSS pseudo class
[2] showPopover(), hidePopover() and togglePopover() interfaces. Much of the
functionality is still to-do.
[3] PopoverData interface
Differential Revision: https://phabricator.services.mozilla.com/D171719
2023-11-21 15:36:35 +01:00
CanadaHonk
3ded7ff273
style: Parse and serialize NaN and infinity times correctly
...
Times like NaN and infinity are now parsed and serialized correctly.
Rewrote time to use `calc_clamping_mode` instead of `was_calc` to
stop some parse-time clamping which broke these values.
Adjusted WPT test expectations, 19 newly pass 🎉
Also added a new WPT test to cover a missing edge case:
`calc(1<unit> * NaN)` -> `calc(NaN * 1<canonical_unit>)`
The very similar angle tests do this already for angle's units.
Differential Revision: https://phabricator.services.mozilla.com/D171911
2023-11-21 15:36:35 +01:00
Oriol Brufau
9a6b46aebd
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Boris Chiou
3390b77281
style: Create timeline objects when mutating scroll-timeline property
...
And so we can lookup the timeline from TimelineCollection.
Differential Revision: https://phabricator.services.mozilla.com/D169273
2023-11-21 15:36:35 +01:00
Oriol Brufau
532d769e27
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Emilio Cobos Álvarez
cfb7a9a108
style: Be consistent for which URIs we expose chrome rules
...
Differential Revision: https://phabricator.services.mozilla.com/D171640
2023-11-21 15:36:35 +01:00
Oriol Brufau
664e44385e
Further changes required by Servo
2023-11-21 15:36:35 +01:00
David Shin
f7b29ac432
style: Parsing for relative selectors in :has()
...
Differential Revision: https://phabricator.services.mozilla.com/D171358
2023-11-21 15:36:35 +01:00
Oriol Brufau
b6db94bdf5
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Tiaan Louw
8c1c4073e2
style: Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors
...
Computed color values will not be in the correct format, closer to the
one specified by the author. This also means that colors accross the
code are stored now as AbsoluteColor or StyleAbsoluteColor. This allows
color space/gamut information to be available for use.
Some animation related test failures had to be changed, because colors
now has greater precision. Animated a color now causes a lot more
animation updates, which was not initially expected. See the bug for
discussion.
Differential Revision: https://phabricator.services.mozilla.com/D171021
2023-11-21 15:36:35 +01:00
Sylvestre Ledru
3763d9a6cc
style: Fix clippy warnings
...
Depends on D96634
Differential Revision: https://phabricator.services.mozilla.com/D96636
2023-11-21 15:36:35 +01:00
Martin Robinson
35b4641bf9
Add a concurrency group to try jobs ( #30756 )
...
This should prevent multiple `parse-comment` jobs from running at the
same time for the same pull request, reducing the number of duplicate
builds when multiple labels are applied.
2023-11-21 08:40:27 +00:00
dependabot[bot]
76569daa62
build(deps): bump uuid from 1.5.0 to 1.6.1 ( #30759 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.5.0...1.6.1 )
---
updated-dependencies:
- dependency-name: uuid
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-21 06:47:08 +00:00
dependabot[bot]
ec4ff3b690
build(deps): bump rustix from 0.38.24 to 0.38.25 ( #30761 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.24 to 0.38.25.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.24...v0.38.25 )
---
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-20 16:51:06 +00:00
Oriol Brufau
61af8fb56d
Enable new color functions from CSS Color 4 ( #30752 )
...
I will need to do most of the work anyways during the style updates,
so by enabling this it will be easier to detect mistakes.
Also, canvas colors are now parsed as <color>, precisely to support
these new features. This is according to the HTML spec:
https://html.spec.whatwg.org/multipage/infrastructure.html#parsed-as-a-css-color-value
2023-11-20 16:15:43 +00:00
Samson
868d84d8ee
Retry smoketest on mac ( #30716 )
2023-11-20 15:50:34 +00:00
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