1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-25 02:42:10 +02:00

use a brand new tag el for ie8

This commit is contained in:
Gary Katsevman 2016-03-28 12:08:00 -04:00
parent ac3771a329
commit 4663d0ed01

View File

@ -972,6 +972,7 @@ test('Make sure that player\'s style el respects VIDEOJS_NO_DYNAMIC_STYLE option
equal(styles.length, 0, 'we should not get any style elements included in the DOM');
window.VIDEOJS_NO_DYNAMIC_STYLE = false;
tag = TestHelpers.makeTag();
player = TestHelpers.makePlayer({}, tag);
styles = document.querySelectorAll('style');
equal(styles.length, 1, 'we should have one style element in the DOM');