Update web-platform-tests to revision b'bcf4a27c0a9dbb07d974a880acb26eb289a85c7e'

This commit is contained in:
WPT Sync Bot 2023-02-17 01:49:27 +00:00
parent 293c8623fa
commit 61b963c73e
183 changed files with 3880 additions and 1012 deletions

View file

@ -183,6 +183,8 @@ function transition_test(options, description) {
promise_test(async () => {
const customProperty = generate_name();
options.transitionProperty ??= customProperty;
CSS.registerProperty({
name: customProperty,
syntax: options.syntax,
@ -199,7 +201,7 @@ function transition_test(options, description) {
});
});
target.style.transition = `${customProperty} 1s -500ms linear`;
target.style.transition = `${options.transitionProperty} 1s -500ms linear`;
target.style.setProperty(customProperty, options.to);
const animations = target.getAnimations();