[Webkit-unassigned] [Bug 248152] New: [web-animations] keyframes should be recomputed when a parent element changes value for a property with "inherit" value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 20 11:37:38 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=248152

            Bug ID: 248152
           Summary: [web-animations] keyframes should be recomputed when a
                    parent element changes value for a property with
                    "inherit" value
           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 a number of WPT tests where a keyframes uses an "inherit" value for a given property and that property changes on a parent dynamically. For instance, in web-animations/responsive/perspective.html:

test(function() {
    container.style.perspective = 'none';
    var player = element.animate([{perspective: 'inherit'}, {perspective: '20px'}], 4000);
    player.pause();

    player.currentTime = 1000;
    assert_equals(getComputedStyle(element).perspective, 'none');

    container.style.perspective = '100px';
    assert_equals(getComputedStyle(element).perspective, '80px');

    container.style.perspective = 'none';
    assert_equals(getComputedStyle(element).perspective, 'none');
}, 'perspective responsive to inherited changes');

This makes us fail a number of similar WPT tests under web-animations/responsive/.

-- 
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/20221120/782812ff/attachment.htm>


More information about the webkit-unassigned mailing list