Bug 1467344 - Tidy up test in test_csstransition-transitionproperty.html; r=hiro

This is mostly whitespace tidy-ups. The only substantive change is the fix to
the test description which previously seemed to be missing some words.

--HG--
extra : rebase_source : 9eb84f5a845ece8fe60d5322de6d5f8a6580c370
This commit is contained in:
Brian Birtles 2018-08-16 14:41:03 +09:00
Родитель 08d47db33c
Коммит 7c74982678
1 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -11,15 +11,17 @@
test(t => {
const div = addDiv(t);
// Add a transition
div.style.left = '0px';
getComputedStyle(div).transitionProperty;
div.style.transition = 'all 100s';
div.style.left = '100px';
assert_equals(div.getAnimations()[0].transitionProperty, 'left',
'The transitionProperty for the corresponds to the specific ' +
'property being transitioned');
assert_equals(
div.getAnimations()[0].transitionProperty,
'left',
'The transitionProperty for the returned transition corresponds to the'
+ ' specific property being transitioned'
);
}, 'CSSTransition.transitionProperty');
</script>