-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix broken transition toggle, cancellation, and delay #145
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be rebased on top of the latest main
230370b
to
ed063e7
Compare
7f43b7b
to
090b1fe
Compare
80fa179
to
560638c
Compare
What should I rebase on now? I got many conflicts when rebasing on main. |
I force-pushed the main branch to sync changes from upstream, which is not ideal for PRs. With your branch at 08279e1, you should be able to do
Where 7ee9643 is the nearest common ancestor of your branch and https://github.com/servo/stylo/commits/2025-03-11/ |
172dac0
to
28fc84e
Compare
Somehow I cannot compile anymore.. I just fetched the latest Servo main branch. I am on the latest Servo main branch.
|
@yezhizhen You upgraded to the latest Stylo branch a little too quickly! CI is still running on the corresponding Servo PR (servo/servo#35990). Your code should compile again once that merges. Until then you can run against the |
Haha thanks Nico! I will get back tomorrow then :) |
2. Implement step 4.1, 4.2 of CSS transition 3. Remove unnecessary `mut` for readability Signed-off-by: Euclid Ye <[email protected]>
Signed-off-by: Euclid Ye <[email protected]>
Signed-off-by: Euclid Ye <[email protected]>
Signed-off-by: Euclid Ye <[email protected]>
4a2dd8c
to
4ef8b50
Compare
I still cannot compile locally, with latest pulled repo I made some adjustments to Cargo.toml in Servo. It starts to compile, but has following errors now:
EDIT: Seems to work now after servo/servo#36011 |
https://github.com/yezhizhen/servo/actions/runs/13914368346/job/38936024866 Regression: Failing WPT test after optimization "Revamp".. Fixing it.. EDIT: Fixed |
0cf369f
to
5aae785
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Passing locally already.
Running Git actions now. https://github.com/yezhizhen/servo/actions/runs/13919914249 EDIT: Passed |
Signed-off-by: Euclid Ye <[email protected]>
6366c45
to
d59fdb6
Compare
I just added a new wpt-test in servo/servo#35978, which Servo was failing before this PR. But the Servo PR has no reviewers yet. |
Signed-off-by: Euclid Ye <[email protected]>
d59fdb6
to
eebf6af
Compare
Signed-off-by: Euclid Ye <[email protected]>
eebf6af
to
91220ab
Compare
moreall CSS transition steps according to spec. Able to cancelmoreall running transitions as expected, with same test case in the first linked issueFollowing debug message was triggered by following the action in the first issue.
It was because the
transform: translate
in after-change style get over-shadowed by already finished transition style, which has highest cascade priority: Transitions.New passing test:
css/css-logical/animation-004.html: Transitions from physical to logical update when the direction is changed
Added new test:
css-transitions/transition-remove-and-transform-immediate.html
Servo PR: servo/servo#35978
cc @stevennovaryo @xiaochengh @Asun0204