Skip to content

Commit 44af9ca

Browse files
committed
Bug 1737211 - Fix translate-interpolation.html. r=layout-reviewers,boris
Stripping the percentageness from calc() interpolation is not correct, see w3c/csswg-drafts#3482. Differential Revision: https://phabricator.services.mozilla.com/D130459
1 parent 36d78e7 commit 44af9ca

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

testing/web-platform/meta/css/css-transforms/animation/translate-interpolation.html.ini

Lines changed: 0 additions & 12 deletions
This file was deleted.

testing/web-platform/tests/css/css-transforms/animation/translate-interpolation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
to: '240% 160%',
123123
}, [
124124
{at: -1, expect: 'calc(960px - 240%) calc(800px - 160%) 640px'},
125-
{at: 0, expect: '480px 400px 320px'},
125+
{at: 0, expect: 'calc(0% + 480px) calc(0% + 400px) 320px'},
126126
{at: 0.125, expect: 'calc(420px + 30%) calc(350px + 20%) 280px'},
127127
{at: 0.875, expect: 'calc(210% + 60px) calc(140% + 50px) 40px'},
128128
{at: 1, expect: '240% 160%'},

0 commit comments

Comments
 (0)