
    assert_equals(getComputedStyle(element).lineHeight, '80px');
}, 'lineHeight responsive to style changes');

test(function() {
    element.style.fontSize = '10px';
    var player = element.animate([{lineHeight: '40px'}, {lineHeight: 'calc(40px - 2em)'}], 10);
    player.pause();

    player.currentTime = 5;
    element.style.fontSize = '40px';
    assert_equals(getComputedStyle(element).lineHeight, '20px');

    player.currentTime = 7.5;
    assert_equals(getComputedStyle(element).lineHeight, '10px');
}