зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
08d47db33c
Коммит
7c74982678
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче