2 This tests transitioning of elements containing a calc expression. The test passes if it does not crash.
4 <div style=
"width: calc(-100px + 100%);"></div>
7 if (window
.testRunner
) {
8 testRunner
.dumpAsText();
9 testRunner
.waitUntilDone();
13 head
= document
.getElementsByTagName("head")[0];
14 var style
= document
.createElement("style");
15 style
.innerHTML
=":last-child {-webkit-transition-duration:.1s;}";
16 head
.appendChild(style
);
17 if (window
.testRunner
)
18 testRunner
.notifyDone();