Commit graph

49 commits

Author SHA1 Message Date
WPT Sync Bot
ce1de3b503 Update web-platform-tests to revision c99723afe33bc5b265e41c1a9446eaff7f8e0d57 2020-05-31 11:24:52 +00:00
WPT Sync Bot
1b463fce85 Update web-platform-tests to revision 5c34fc630374b9eb0559139a486ff1a2e4247c4f 2020-05-28 11:23:41 +00:00
WPT Sync Bot
fc2af06212 Update web-platform-tests to revision 82b3595ce0ea99dd2a04b578421b4d281e53ee31 2020-05-26 11:20:12 +00:00
WPT Sync Bot
bc7c10c2ce Update web-platform-tests to revision da0a378536add99eaffc33f733b5960457bd38df 2020-05-21 11:14:28 +00:00
WPT Sync Bot
9309f626be Update web-platform-tests to revision cf926057109b153af54214d52a2b3d746269d434 2020-05-20 11:11:35 +00:00
bors-servo
7c5c105d03
Auto merge of #26567 - servo-wpt-sync:wpt_update_19-05-2020, r=jdm
Sync WPT with upstream (19-05-2020)

Automated downstream sync of changes from upstream as of 19-05-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-05-19 21:30:20 -04:00
WPT Sync Bot
9cff065d01 Update web-platform-tests to revision 7cb66930f16381536cec572cd3f4f86c7bbb6787 2020-05-19 11:08:36 +00:00
Martin Robinson
acca20d544 Update test expectations 2020-05-19 10:02:03 +02:00
WPT Sync Bot
4f13fd6595 Update web-platform-tests to revision afb5f984d7beecafa3d68ea7719ae2f4d203f1e1 2020-05-18 11:17:09 +00:00
bors-servo
0a00ea3db3
Auto merge of #26545 - servo-wpt-sync:wpt_update_16-05-2020, r=servo-wpt-sync
Sync WPT with upstream (16-05-2020)

Automated downstream sync of changes from upstream as of 16-05-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-05-16 09:47:12 -04:00
WPT Sync Bot
6f4d1ac19b Update web-platform-tests to revision 823cca0c2c6b421912973e7f699a357411738c64 2020-05-16 10:41:56 +00:00
bors-servo
afc4e7ec25
Auto merge of #26537 - mrobinson:backface, r=SimonSapin
layout_2020: Implement support for backface-visibility

<!-- 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
- [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. -->
2020-05-16 03:43:48 -04:00
Martin Robinson
c2875482d6 layout_2020: Implement support for backface-visibility 2020-05-16 09:42:45 +02:00
WPT Sync Bot
db12fbb0be Update web-platform-tests to revision 73bd4355b891665829c66e1b83d64bcc29197a16 2020-05-15 10:39:22 +00:00
bors-servo
aa9f16ce45
Auto merge of #26477 - mrobinson:layout-2020-get-computed-value, r=jdm
Add support for getComputedStyle() to layout_2020

These changes add support for `getComputedStyle()` to layout_2020.

---
<!-- 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. -->
2020-05-11 15:57:25 -04:00
Martin Robinson
9c7b1ae715 layout_2020: Add initial support for getComputedStyle
This implementation is more-or-less on par with the one from layout_2013
and in some cases better. There are still some cases where we don't
return the correct "resolved value," but this is enough to test
animations and transitions.
2020-05-11 20:14:01 +02:00
Martin Robinson
a637810df3 layout_2020: Add support for transform-style
This requires creating a matching stacking context for every reference
frame and also properly placing those stacking contexts inside them.
2020-05-11 15:03:29 +02:00
WPT Sync Bot
f05c813634 Update web-platform-tests to revision 3a7b40eb73bf5359adf0d378b71d36488885057f 2020-05-09 11:10:45 +00:00
WPT Sync Bot
c5ddf8e76a Update web-platform-tests to revision 07b698ef4ea02ebeb65c3214ed7141ad32678a8c 2020-05-06 13:09:52 +00:00
WPT Sync Bot
f3e7a5cac0 Update web-platform-tests to revision 3adb0f89d80bb92ea1a458b3fbe461f7803549a9 2020-05-05 10:56:33 +00:00
WPT Sync Bot
94f517b8d8 Update web-platform-tests to revision 6a2f0e6a0110fd0830fc3196680f671bb83c2747 2020-04-28 11:09:30 +00:00
WPT Sync Bot
58265ed975 Update web-platform-tests to revision 55367a4c706fa32301980773cb2c09cbcd291635 2020-04-27 11:19:06 +00:00
WPT Sync Bot
55139554ba Update web-platform-tests to revision 78eae724c61bb01d858a01a324363e997ac66851 2020-04-25 11:14:57 +00:00
WPT Sync Bot
77e26e71da Update web-platform-tests to revision 84f93271efe15a4e37fed477a2ad364f8659a0f8 2020-04-23 11:17:32 +00:00
WPT Sync Bot
e116a19f0b Update web-platform-tests to revision 9d583db6a1a16763322dce912bf057490cd7b0c7 2020-04-19 11:09:10 +00:00
WPT Sync Bot
10cafa3df2 Update web-platform-tests to revision a4482f355e2848f4623cf46f521cb9b3bca56129 2020-04-14 11:10:36 +00:00
WPT Sync Bot
c9a04ea515 Update web-platform-tests to revision ec1023a6b5f4dc6c8cbeb3507081e2ac3741adad 2020-04-13 11:07:48 +00:00
WPT Sync Bot
19a2b8047d Update web-platform-tests to revision 30a08266e1951b16ab2587068de64041095bbc2f 2020-04-08 10:50:40 +00:00
WPT Sync Bot
4e37dd1013 Update web-platform-tests to revision d7a573df46aac1ebc338ff993c54a18f2b9ff1a4 2020-04-06 10:41:55 +00:00
WPT Sync Bot
9bf4e63ec5 Update web-platform-tests to revision 1a83e795e53c50c1306a14a7bb8e3f7ccfa7f89f 2020-04-05 10:55:39 +00:00
WPT Sync Bot
018bc3f219 Update web-platform-tests to revision c063a8c9acc637e3bd72b719b46e6f2fb627da4a 2020-04-03 11:08:23 +00:00
WPT Sync Bot
6b740f0283 Update web-platform-tests to revision 6366ae15c2bc2314adca4321357c68bb468fec98 2020-04-02 11:05:54 +00:00
WPT Sync Bot
d8c042fbb2 Update web-platform-tests to revision 3bf30e8f1c56700c4b48508e876e72cccb7437ed 2020-04-01 10:58:32 +00:00
Simon Sapin
8350f8a08a Don’t forget to apply the inline-start margin to blocks 🤦 2020-03-31 22:59:43 +02:00
WPT Sync Bot
932f14ce3a Update web-platform-tests to revision 169a1410bfe8e517d79852144555dd49ea1f597a 2020-03-27 11:07:02 +00:00
WPT Sync Bot
d23cb97662 Update web-platform-tests to revision 66e7f134c43e83a70edf4028ec4738ddfea28e15 2020-03-26 11:03:03 +00:00
WPT Sync Bot
1d6ba62c8f Update web-platform-tests to revision 10adbd6b133f1ccf77a27ed51ffd3e7a00a499ee 2020-03-24 11:01:51 +00:00
WPT Sync Bot
76af5dbf1f Update web-platform-tests to revision f2c1dfe9ae186350086dbe505c4baaab63ace1cc 2020-03-21 11:06:46 +00:00
bors-servo
1634f4e6ed
Auto merge of #25987 - servo-wpt-sync:wpt_update_19-03-2020, r=jdm
Sync WPT with upstream (19-03-2020)

Automated downstream sync of changes from upstream as of 19-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-19 16:57:59 -04:00
WPT Sync Bot
ee944e769d Update web-platform-tests to revision 6a665f63ae39b552f60b971f11c34b215861fcb3 2020-03-19 10:44:50 -04:00
Martin Robinson
bd06227a60 layout_2020: Add support for hoisting positioned fragments in inline boxes
Add support for tracking containing blocks when doing inline layout.
This requires setting up a PositioningContext for inline boxes when
necessary. Instead of using the PositioningContext helper methods
and we reuse the contexts between line breaks.

Fixes #25279.
2020-03-19 10:50:49 +01:00
Martin Robinson
c3b1c92ac1 layout_2020: Paint hoisted positioned fragments in tree order
Instead of painting hoisted position fragments in the order to which
they are hoisted, paint them in tree order and properly incorporate them
into the stacking context.

We do this by creating a placeholder fragment in the original tree position
of hoisted fragments. The ghost fragment contains an atomic id which
links back to the hoisted fragment in the containing block.

While building the stacking context, we keep track of containing blocks
and their children. When encountering a placeholder fragment we look at
the containing block's hoisted children in order to properly paint the
hoisted fragment.

One notable design modification in this change is that hoisted fragments
no longer need an AnonymousFragment as their parent. Instead they are
now direct children of the fragment that establishes their containing block.
2020-03-11 12:47:06 +01:00
Fernando Jiménez Moreno
0bd794aed7 Enable 2dcontext tests for layout 2020 2020-03-06 10:54:06 +01:00
bors-servo
813be91926
Auto merge of #25863 - servo:synup, r=jdm
Remove syn 0.15 from our crate graph
2020-03-05 10:03:48 -05:00
Anthony Ramine
9996e48500 Remove syn 0.15 from our crate graph (fixes #24421)
This required bumps of:

* gleam
* image
* rust-webvr
* webrender
* webxr
2020-03-05 13:01:13 +01:00
Martin Robinson
8de55695e4 Have transforms and filters be CBs for all descendants in layout_2020
This is a feature that was never properly implemented in the previous
layout system. We still need to preserve their in-tree order in the
display list though.
2020-03-02 11:47:00 +01:00
Fernando Jiménez Moreno
1cdd66a0a7 Update test expectations for layout_2020 generated content 2020-02-25 11:24:38 +01:00
Martin Robinson
80b29380f1 Add layout_2020 support for transformations 2020-02-21 17:07:09 +01:00
Martin Robinson
9a760cfc02 Unskip css-transforms tests for layout_2020 2020-02-20 17:31:47 +01:00