summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/transition-property-names.js
blob: 4fbfc4328a6c719c39814024c6dd3481ae37e1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
description(
'This test checks that CSS property names work round trip in the transition property.'
);

var element = document.createElement('a');

element.style.webkitTransitionProperty = "height";
shouldBe("element.style.webkitTransitionProperty", "'height'");

element.style.webkitTransitionProperty = "opacity";
shouldBe("element.style.webkitTransitionProperty", "'opacity'");

var successfullyParsed = true;