[Webkit-unassigned] [Bug 246913] New: [web-animations] commitStyles() should update layout prior to committing animations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 23 03:02:01 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=246913
Bug ID: 246913
Summary: [web-animations] commitStyles() should update layout
prior to committing animations
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're failing a subtest in web-animations/interfaces/Animation/commitStyles.html:
test(t => {
const div = createDiv(t);
div.style.width = '200px';
div.style.height = '200px';
const animation = div.animate({ transform: ["translate(100%, 0%)", "scale(3)"] }, 1000);
animation.currentTime = 500;
animation.commitStyles();
animation.cancel();
assert_equals(getComputedStyle(div).transform, "matrix(2, 0, 0, 2, 100, 0)",
"Resolved transform is correct after commit.");
}, 'Commits matrix-interpolated relative transforms');
Our current result is "matrix(2, 0, 0, 2, 0, 0)" because when we blend under commitStyles() layout has not happened yet for the div and the bounds passed to resolve the 100% translation value is 0,0.
--
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/20221023/f67b5b77/attachment.htm>
More information about the webkit-unassigned
mailing list