Commit graph

140 commits

Author SHA1 Message Date
WPT Sync Bot
06e9d5a631 Update web-platform-tests to revision b'c9946198c9ee19db3b4974a388fae45da844a94a' 2023-05-14 01:39:34 +00:00
Pu Xingyu
ea599c88df Update wpt expectations 2023-05-12 22:29:17 +08:00
bors-servo
03574d8191
Auto merge of #29719 - stshine:flexbox-justify-content, r=Loirooriol
layout 2020: Implement justify-content in flexbox

Align the items along the main-axis per justify-content.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2023-05-11 23:44:48 +02:00
Pu Xingyu
3079828cb9 Update wpt test expectations 2023-05-10 19:09:18 +08:00
bors-servo
818ee77d9d
Auto merge of #29677 - mrobinson:resolved-insets, r=delan
Better implement getComputedStyle() for positioned insets

The specification dictates quite quite idiosyncratic return values when
querying insets of positioned elements via `getComputedStyle()`. These
depend on whether or not the element's size was overconstrained. This
change adds a better implementation of that in preparation for returning
proper values for `position: sticky`.

There are two changes here:
- The containing block used in `FragmentTree::find` is properly computed using the `ContainingBlockManager` data structure. This data structure is now updated during traversal through the fragment tree in `Fragment::find`.
- We now take into account whether or not a absolute elements are overconstrained when calculating their resolved insets. For absolutely positioned elements, this happens during absolute positioning. For relatively positioned elements, we can determine this when a `BoxFragment` is constructed.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2023-05-09 12:09:51 +02:00
Martin Robinson
e167526618 Better implement getComputedStyle() for positioned insets
The specification dictates quite quite idiosyncratic return values when
querying insets of positioned elements via getComputedStyle(). These
depend on whether or not the elements size was overconstrained. This
change adds a better implementation of that in preparation for returning
proper values for position: sticky.
2023-05-09 12:07:20 +02:00
WPT Sync Bot
9b45fdb3f5 Update web-platform-tests to revision b'8d8b273d2265095c7f5330ff231940e68fb49754' 2023-05-07 01:31:13 +00:00
WPT Sync Bot
44e249bebb Update web-platform-tests to revision b'797e75946c24d0625f04247b16d33c26d4ada273' 2023-04-30 01:30:40 +00:00
Martin Robinson
39cad8f64d Update a few results for passing WPT tests on Layout 2020 2023-04-27 08:54:40 +02:00
Oriol Brufau
81f97f3af6 Update layout-2020 test expectations
Some tests are now passing thanks to #29661.
2023-04-26 20:44:36 +02:00
WPT Sync Bot
ea44238f3a Update web-platform-tests to revision b'6aa16a6888fcf6dd3ee2eac2e911c2d7c353d193' 2023-04-25 11:40:51 +00:00
WPT Sync Bot
75286b8eab Update web-platform-tests to revision b'f0b66362cc5dec54d81e0a56458b48f310a2eba9' 2023-04-16 01:29:26 +00:00
WPT Sync Bot
bb34f95b33 Update web-platform-tests to revision b'1d9b01e2fad6af3a057d571b1e088e15fa9bc8e6' 2023-04-07 01:30:49 +00:00
WPT Sync Bot
7bf23c63b3 Update web-platform-tests to revision b'2703c75d5e889bb7c6a918de44841bf9de8d63a7' 2023-03-25 01:54:46 +00:00
WPT Sync Bot
90b96becef Update web-platform-tests to revision b'62c17eac9f99db2ea4e213328c9c6122136694cc' 2023-03-22 01:37:18 +00:00
WPT Sync Bot
4e30ee5e08 Update web-platform-tests to revision b'065cf84e9f00d1c11faf2a41e500a73ad6b95a48' 2023-03-21 01:40:05 +00:00
WPT Sync Bot
fb586f68cc Update web-platform-tests to revision b'8ff38c54ff3fab31f862570a38e73755785ba7ee' 2023-01-11 02:40:26 +00:00
WPT Sync Bot
71255b8ef7 Update web-platform-tests to revision b'8e8075e9b5d932def46c3e36f41435baa9726a2f' 2023-01-09 01:36:13 +00:00
WPT Sync Bot
fd56698ec7 Update web-platform-tests to revision b'421155a1c8752a36b465e62f466b18f821190e08' 2023-01-08 01:57:36 +00:00
WPT Sync Bot
a04daa7e71 Update web-platform-tests to revision b'e64f8298db78f39737eefedf5f59b99ba98d309b' 2022-12-24 01:30:45 +00:00
WPT Sync Bot
41d386c907 Update web-platform-tests to revision b'5656a2f4653b5894c500b724778009ca9a26e48c' 2022-12-23 01:34:56 +00:00
WPT Sync Bot
702d7621cf Update web-platform-tests to revision b'66a2552e58afc4f50e87b2306839664c1447e265' 2022-12-21 01:44:03 +00:00
WPT Sync Bot
4e2c1b7804 Update web-platform-tests to revision b'7c349a39c8b89de423a60c7ef461f9f47f4e5821' 2022-12-19 01:20:21 +00:00
WPT Sync Bot
bc35487659 Update web-platform-tests to revision b'e9baa05836ecf60b3aec73de9b55cd7c20952f34' 2022-12-18 01:54:20 +00:00
WPT Sync Bot
02d490892d Update web-platform-tests to revision b'9ce4a6482a088da3d74f895d8ad15c5ce0c25d28' 2022-12-17 01:20:20 +00:00
WPT Sync Bot
afd92e9e80 Update web-platform-tests to revision b'6275bd0cf6fcfbfb531d371666602ddf4ca6dbf6' 2022-12-16 01:31:34 +00:00
WPT Sync Bot
82db1c49ad Update web-platform-tests to revision b'56123c260eff2131bc355b66530d6f0b18b20b2c' 2022-12-14 01:23:47 +00:00
WPT Sync Bot
f1afee3fc8 Update web-platform-tests to revision b'eed89e3016c6fd9de02af8a9dcb06933244c54f9' 2022-12-13 01:31:45 +00:00
WPT Sync Bot
6337336fab Update web-platform-tests to revision b'4a4653e088039aec186d6dc1d488120d77695c3a' 2022-12-11 01:19:52 +00:00
WPT Sync Bot
831ab387a5 Update web-platform-tests to revision b'9be67046d1f0d57d0d4fba089f151ef044572f5d' 2022-11-26 01:29:07 +00:00
WPT Sync Bot
839a2e5f43 Update web-platform-tests to revision b'fcef086d46a1970a1b45eff5aa41b92bbb9d05b0' 2022-11-22 01:31:51 +00:00
WPT Sync Bot
8f33a04929 Update web-platform-tests to revision b'e89b6eb4952b217c1a7b6540b0fe2613b0b09c54' 2022-11-20 01:27:11 +00:00
WPT Sync Bot
6d3d169a9e Update web-platform-tests to revision b'a6e9e432ca1b26cdf30b08f9de038b85a215361d' 2022-11-14 01:33:03 +00:00
WPT Sync Bot
57b85533c2 Update web-platform-tests to revision b'a6e9e432ca1b26cdf30b08f9de038b85a215361d' 2022-11-13 01:34:32 +00:00
WPT Sync Bot
1c047e9418 Update web-platform-tests to revision b'a6e9e432ca1b26cdf30b08f9de038b85a215361d' 2022-11-12 01:33:42 +00:00
WPT Sync Bot
9ed042224a Update web-platform-tests to revision b'0802d8bd01e17178d9cd2355e6fbaf3c098e7953' 2022-11-11 01:34:11 +00:00
WPT Sync Bot
df68c4e5d1 Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005' 2022-11-10 01:27:28 +00:00
WPT Sync Bot
b77ad115f6 Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4' 2022-01-20 20:57:54 +09:00
WPT Sync Bot
58e8ee674b Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440' 2022-01-17 16:30:29 +09:00
yvt
370997eba2 test: update expectations 2021-06-19 13:27:11 +09:00
bors-servo
68e200a581
Auto merge of #28236 - pecastro:winit_0_24_surfman, r=jdm
Winit 0.24.0 and surfman

<!-- Please describe your changes on the following line: -->
I've updated Servo to Winit 0.24.0 based on the previous work in #26394.
I've basically rebased master onto his jdm/winit branch which had the bulk of the work and I brute forced it till it built correcting things here and there as I could.
The build reports a few warnings:

```
00:04:59 Mar 03 10:20:06 warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
00:04:59 Mar 03 10:20:06    --> ports/winit/headed_window.rs:753:12
00:04:59 Mar 03 10:20:06     |
00:04:59 Mar 03 10:20:06 753 |         if input.modifiers.shift() {
00:04:59 Mar 03 10:20:06     |            ^^^^^^^^^^^^^^^
00:04:59 Mar 03 10:20:06     |
00:04:59 Mar 03 10:20:06     = note: `#[warn(deprecated)]` on by default
00:04:59 Mar 03 10:20:06
00:04:59 Mar 03 10:20:06 warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
00:04:59 Mar 03 10:20:06    --> ports/winit/keyutils.rs:263:34
00:04:59 Mar 03 10:20:06     |
00:04:59 Mar 03 10:20:06 263 |         modifiers: get_modifiers(input.modifiers),
00:04:59 Mar 03 10:20:06     |                                  ^^^^^^^^^^^^^^^
00:04:59 Mar 03 10:20:06
00:07:06 Mar 03 10:22:13 warning: 2 warnings emitted
00:07:06 Mar 03 10:22:13
00:07:06 Mar 03 10:22:13    Completed servo v0.0.1 bin "servo" in 132.7s
00:07:06 Mar 03 10:22:13     Finished dev [unoptimized + debuginfo] target(s) in 6m 59s
00:07:08 Mar 03 10:22:15 [Warning] Could not generate notification!
00:07:08 Mar 03 10:22:15 Build Completed in 0:07:01
```

And there are a few commits namely b27e09e009 which I'm not entirely sure of.
I've intentionally left the surfman patch in Cargo.toml so someone else can validate this branch.
Unit tests and smoke test run successfully.
Servo runs but I'm not familiar enough with it to validate how well it does. The window opens and content loads though.

My Rust foo is not great and I could use some help fixing those warnings.

Regards,

PECastro

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x ] `./mach build -d` does not report any errors
A few warnings ...
- [x ] `./mach test-tidy` does not report any errors
A few duplicate version statements but no errors.
- [x] These changes fix #26394
- [x] There are tests for these changes
-  [ ] These changes do not require tests because

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2021-03-14 19:26:04 -04:00
Josh Matthews
10231573be Update to winit 0.24.
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Co-authored-by: Paulo E. Castro <pecastro@wormholenet.com>
2021-03-05 20:00:30 -05:00
WPT Sync Bot
5cd4d0259a Update web-platform-tests to revision b'b964db08565d01d21c778783da8e9b5d403de3d4' 2021-03-03 09:52:08 +00:00
Josh Matthews
45df01c26f
Delete 2020 failure. 2021-02-28 10:46:20 -05:00
WPT Sync Bot
b99372177f Update web-platform-tests to revision b'd04481569b4924284b8dd53b6430ef67de54073f' 2021-02-28 09:46:29 +00:00
Emilio Cobos Álvarez
aa4d2b0b0d selectors: Cherry-pick some fixes that got lost. 2021-02-27 05:58:37 +01:00
WPT Sync Bot
4db11786c5 Update web-platform-tests to revision b'51407aaa3d17aa440f6807caef5e390dc779087a' 2021-02-25 09:47:00 +00:00
WPT Sync Bot
87be1008de Update web-platform-tests to revision b'7af9d6ec48ab04043a2bea85a3599904a1a19efa' 2021-02-21 11:31:07 -05:00
Josh Matthews
60e7bee865
Remove 2020 failure. 2021-01-29 18:14:25 -05:00
Josh Matthews
508bd24770
Add 2020 failure. 2021-01-29 18:14:03 -05:00