| Summary: |
[web-animations] keyframes should be recomputed when a parent element changes value for a non-inherited property set to "inherit" |
| Product: |
WebKit
|
Reporter: |
Antoine Quint <graouts> |
| Component: |
Animations | Assignee: |
Antoine Quint <graouts> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
Normal
|
CC: |
dino, graouts, karlcow, koivisto, webkit-bug-importer
|
| Priority: |
P2
|
Keywords: |
BrowserCompat, InRadar, WPTImpact |
| Version: |
Safari Technology Preview | |
|
| Hardware: |
Unspecified | |
|
| OS: |
Unspecified | |
|
| Bug Depends on: |
251433
|
|
|
| Bug Blocks: |
|
|
|
| Attachments: |
| Description |
Flags |
|
Test
|
none
|
|
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/.