dependabot[bot]
dd9366bfe7
build(deps): bump ring from 0.17.5 to 0.17.6 ( #30798 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.5 to 0.17.6.
- [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>
2023-11-29 16:32:53 +00:00
Martin Robinson
a05598402e
Add initial support for sticky positioning for non-legacy layout ( #30686 )
...
* Add initial support for sticky positioning for non-legacy layout
Many tests still fail for a variety of reasons. One of the primary ones
is that CSSOM currently does not return correct values for elements
positioned by sticky nodes. This requires changes to WebRender to work
properly.
* Fix an assertion failure in the legacy layout sticky code
2023-11-29 09:03:24 +00:00
dependabot[bot]
bab2b58216
build(deps): bump errno from 0.3.7 to 0.3.8 ( #30794 )
...
Bumps [errno](https://github.com/lambda-fairy/rust-errno ) from 0.3.7 to 0.3.8.
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.7...v0.3.8 )
---
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-28 16:57:19 +00:00
dependabot[bot]
8f3491393f
build(deps): bump web-sys from 0.3.65 to 0.3.66 ( #30793 )
...
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.65 to 0.3.66.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: web-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-28 16:45:36 +00:00
Mukilan Thiyagarajan
81a38bde8c
ci: do not set LIBCLANG_PATH for nightly build ( #30792 )
...
This environment variable was added when we moved
to Ubuntu 22.04 and it is not needed for nightly
builds which we have now switched to 20.04
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2023-11-28 09:49:17 +00:00
dependabot[bot]
0b2456b1eb
build(deps): bump proc-macro2 from 1.0.69 to 1.0.70 ( #30791 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.69...1.0.70 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-27 17:04:04 +00:00
dependabot[bot]
3a036a639e
build(deps): bump js-sys from 0.3.65 to 0.3.66 ( #30790 )
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.65 to 0.3.66.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-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-27 16:58:41 +00:00
dependabot[bot]
cccf8c2ffe
build(deps): bump wasm-bindgen from 0.2.88 to 0.2.89 ( #30789 )
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.88 to 0.2.89.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.88...0.2.89 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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-27 16:48:24 +00:00
Servo WPT Sync
139df1c73b
Sync WPT with upstream (26-11-2023) ( #30783 )
...
* Update web-platform-tests to revision b'a59ba94da3f2638beee8950e423c5fedfe02e809'
* Update expectations
* Update expectations again
---------
Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
2023-11-27 15:50:45 +00:00
dependabot[bot]
76401823f2
build(deps): bump url from 2.4.1 to 2.5.0 ( #30775 )
...
* build(deps): bump url from 2.4.1 to 2.5.0
Bumps [url](https://github.com/servo/rust-url ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.4.1...v2.5.0 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update expectations
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
2023-11-27 15:10:44 +00:00
Mukilan Thiyagarajan
d10688b5ef
ci: use ubuntu 20.04 for nightly builds on linux ( #30787 )
...
Ubuntu 22.04 has a newer glibc (2.34) which means builds
from there won't run on systems with older glibc, most
notably the wpt.fyi taskcluster runners which use 20.04
as the docker base image.
This is a temporary workaround until wpt upgrades to 22.04
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2023-11-27 11:55:44 +00:00
dependabot[bot]
5d7ed76b79
build(deps): bump gimli from 0.28.0 to 0.28.1 ( #30780 )
...
Bumps [gimli](https://github.com/gimli-rs/gimli ) from 0.28.0 to 0.28.1.
- [Changelog](https://github.com/gimli-rs/gimli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gimli-rs/gimli/compare/0.28.0...0.28.1 )
---
updated-dependencies:
- dependency-name: gimli
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-24 17:50:15 +00:00
Oriol Brufau
69fb7a9a9a
Update cssparser to 0.31.2 ( #30771 )
2023-11-24 14:16:27 +00:00
Martin Robinson
6dec39e959
Try to kill XProtect before running Mac CI ( #30779 )
...
This is an attempt to fix errors on the Mac CI when running `hdiutil`
that look like this:
```
Run python3 ./mach package --release
hdiutil: create failed - Resource busy
Creating Servo.app
Copying files
Swapping prefs
Finding dylibs and relinking
Adding version to Credits.rtf
Creating dmg
Packaging MacOS dmg exited with return value 1
Error: Process completed with exit code 1.
```
This approach was taken from
https://github.com/actions/runner-images/issues/7522 .
2023-11-24 10:26:36 +00:00
Oriol Brufau
5b08febe88
Update test expectations
2023-11-24 08:57:14 +01:00
Oriol Brufau
27056eb93a
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
1ada5e9605
style: Add a query-selector fast path for attribute selectors in the rightmost compound
...
Differential Revision: https://phabricator.services.mozilla.com/D180553
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
de9fb7983a
style: Speed up / specialize attribute selector-matching
...
Inline the attribute lookup code, and only branch on the attribute selector
type if we have found an attribute.
Differential Revision: https://phabricator.services.mozilla.com/D180531
2023-11-24 08:57:14 +01:00
Oriol Brufau
8c5a028955
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
e59c71d8ef
style: Remove unused TElement::has_attr
...
Differential Revision: https://phabricator.services.mozilla.com/D180530
2023-11-24 08:57:14 +01:00
Oriol Brufau
29f6170564
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
3da2db1c53
style: Remove the never_matches field from attr selectors
...
It's an extra branch which in practice we almost never take, plus extra
checks during parsing.
Differential Revision: https://phabricator.services.mozilla.com/D180529
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
54a783db17
style: Add a way to optimize the "attribute in no namespace exists" check
...
Go through the slow path by default. No behavior change.
Differential Revision: https://phabricator.services.mozilla.com/D180528
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
c36a22a97f
style: Don't recompute quirks mode -> case sensitivity over and over
...
The only reason we pass the quirks mode around is to compute the case
sensitivity, but we can just pass the later.
Differential Revision: https://phabricator.services.mozilla.com/D180527
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
5b184f448b
style: Fix style invalidation on layer rule insertion
...
Layer insertion may change the order of styles, so we may need to fully
invalidate.
Without this change, bug 1838045 makes
layer-statement-before-import.html fail.
Differential Revision: https://phabricator.services.mozilla.com/D180929
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
50d7f882dd
style: Container units should prevent us from sharing style by rule node
...
At least when the containers are different.
For now check that by doing a somewhat simplified test (checking
sibling-ness).
The new flag can be useful to optimize container query restyles on
resizes too, in the future.
Differential Revision: https://phabricator.services.mozilla.com/D179268
2023-11-24 08:57:14 +01:00
Ting-Yu Lin
07d6ec5d4b
style: Remove obsolete comment to add use counter for developing CSS properties
...
The CSS properties in the list are all shipped. Since we still don't support use
counter for developing CSS properties since this bug opens, I assume this
feature is not critical. Hence the removal of the comment.
Differential Revision: https://phabricator.services.mozilla.com/D180771
2023-11-24 08:57:14 +01:00
Oriol Brufau
c1a622cf01
Further changes required by Servo
2023-11-24 08:57:14 +01:00
David Shin
ae5e0d49d8
style: Move ANCHORS_RELATIVE_SELECTOR
out of nsINode flags
...
Move the flag to ComputedValueFlags, like `CONSIDERED_RELATIVE_SELECTOR`.
Differential Revision: https://phabricator.services.mozilla.com/D180726
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
9321265b38
style: Clean up Context::for_non_inherited_property
...
We don't ever check the particular property, so it can just be a
boolean.
Differential Revision: https://phabricator.services.mozilla.com/D180680
2023-11-24 08:57:14 +01:00
Oriol Brufau
1ad176f1bc
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
3da0e44d98
style: Fix rebase conflict with bug 1837664
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
77c541b38a
style: Do not snap -webkit-text-stroke-width to dev pixels
...
Introduce LineWidth (which doesn't snap) and let BorderSideWidth
wrap it and actually do the snapping.
Differential Revision: https://phabricator.services.mozilla.com/D180688
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
127e00e48a
style: Improve border-image shorthand serialization, and annotate more passes
2023-11-24 08:57:14 +01:00
Oriol Brufau
733222fffe
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
78f8d575b7
style: Don't allow to share style by rule node for links
...
(Regardless of visitedness)
Differential Revision: https://phabricator.services.mozilla.com/D180353
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
c8ccb52c9e
style: Improve border shorthand serialization
...
Fix some bugs caught by css/cssom/shorthand-values. In particular:
* Make the shorthand order match the spec.
* Omit values when we can.
Fix a subtest that wasn't correct. Shorthands can be serialized as long
as !important matches in all components.
Differential Revision: https://phabricator.services.mozilla.com/D180466
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
cf3d31038c
style: Minor clean-ups to border shorthand parsing
...
This doesn't change behavior.
Differential Revision: https://phabricator.services.mozilla.com/D180465
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
7c8cf00033
style: Avoid selecting zero-resolution images in image-set
...
Fairly straight-forward. This fixes the two tests mentioned in comment 0
which aren't still in the repo.
Differential Revision: https://phabricator.services.mozilla.com/D180414
2023-11-24 08:57:14 +01:00
Oriol Brufau
5842cfc127
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Andrew Osmond
42d9ec1106
style: Add method to parse CSS filters without context for workers
...
This patch adds the ability to parse most CSS filters without a context.
OffscreenCanvas can use this on worker threads to provide support for
filter operations.
Differential Revision: https://phabricator.services.mozilla.com/D179994
2023-11-24 08:57:14 +01:00
CanadaHonk
a10df24ffb
style: Serialize NaN and infinity numbers
...
Added NaN/inf serialization of <number> and changed calc() code to not
remove NaN/infinity in code using it.
This change is unfortunately imperfect as some things using <number>
still refuse to serialize NaN/infinity for some reason (scale()?), but
this bug/patch is just for <number> so leaving that out of scope for
this.
Also added new WPT test file for number NaN/inf serialization based
on existing serialization tests (all pass already!).
5 other WPT subtests now newly pass.
Differential Revision: https://phabricator.services.mozilla.com/D178587
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
dcb61c095f
style: Forbid negative CSS resolutions at parse time
...
Apply some clang-tidy suggestions while I was going through the
ServoStyleConstsInlines while at it.
Remove one 0x test because it's tested on the same test and causes a
harness error.
Differential Revision: https://phabricator.services.mozilla.com/D180331
2023-11-24 08:57:14 +01:00
Ting-Yu Lin
019c14cf0b
style: Make flex-flow serialization interoperable
...
Differential Revision: https://phabricator.services.mozilla.com/D180270
2023-11-24 08:57:14 +01:00
Oriol Brufau
abc0c86fef
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
d02c4e2fe9
style: Remove viewport rule code
...
Turns out Servo doesn't need this either, see
https://github.com/servo/servo/pull/29850 .
Differential Revision: https://phabricator.services.mozilla.com/D180264
2023-11-24 08:57:14 +01:00
Oriol Brufau
0b75c1d9d1
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
23d60c2195
style: Unify parallel and sequential traversal scheduling
...
Use in_place_scope_fifo to spawn work into the thread pool while doing
work in the main thread.
Differential Revision: https://phabricator.services.mozilla.com/D179492
2023-11-24 08:57:14 +01:00
Emilio Cobos Álvarez
7771cf25a8
style: Remove :nth-child(... of) pref
...
We ship this, and the front-end uses it by default, so remove the pref.
Differential Revision: https://phabricator.services.mozilla.com/D180222
2023-11-24 08:57:14 +01:00
Boris Chiou
bcae33a43f
style: Send offset-position to the compositor
...
We send offset-position to the compositor, just like other similar
properties, e.g. offset-rotate, offset-anchor. This includes extracting
this animation value, doing serialization and sending it via IPC.
So now we can run the animation of ray() on the compositor properly.
Differential Revision: https://phabricator.services.mozilla.com/D179862
2023-11-24 08:57:14 +01:00