[Webkit-unassigned] [Bug 247895] New: [web-animations] changing writing-mode or direction on an element that has an animation targeting a logical property should ensure animation resolution is scheduled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 14 07:47:00 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=247895
Bug ID: 247895
Summary: [web-animations] changing writing-mode or direction on
an element that has an animation targeting a logical
property should ensure animation resolution is
scheduled
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Animations
Assignee: webkit-unassigned at lists.webkit.org
Reporter: graouts at webkit.org
CC: dino at apple.com, graouts at apple.com
We are failing this test in web-animations/timing-model/timelines/update-and-send-events-replacement.html:
promise_test(async t => {
const div = createDiv(t);
const animA = div.animate(
{ marginTop: '10px' },
{ duration: 1, fill: 'forwards' }
);
const animB = div.animate(
{ marginInlineStart: '20px' },
{ duration: 1, fill: 'forwards' }
);
await animA.finished;
assert_equals(animA.replaceState, 'active');
assert_equals(animB.replaceState, 'active');
div.style.writingMode = 'vertical-rl';
assert_equals(animA.replaceState, 'active');
assert_equals(animB.replaceState, 'active');
await waitForNextFrame();
assert_equals(animA.replaceState, 'removed');
assert_equals(animB.replaceState, 'active');
}, 'Removes an animation by another animation using logical properties after updating the context');
We fail the second-to-last assertion because we fail to schedule an animation update after changing writing-mode and thus don't run the procedure to remove replaced animations.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221114/ad3d739f/attachment.htm>
More information about the webkit-unassigned
mailing list