updated bower components

- updated bootstrap-datepicker to 1.9.0
- updated chart.js to 1.1.1
- updated ckeditor to 4.12.1
- updated jquery to 3.4.1
- updated raphael to 2.2.7
- updated select2 to 4.0.8
This commit is contained in:
REJack
2019-08-09 13:38:10 +02:00
parent 239be16dac
commit 785cd511fd
471 changed files with 19589 additions and 26689 deletions

View File

@@ -64,3 +64,21 @@ test('resolve falls back to element if there is no style', function (assert) {
assert.equal(width, '500px');
});
test('computedstyle gets the style if parent is invisible', function (assert) {
var $style = $(
'<style type="text/css">.css-set-width { width: 500px; }</style>'
);
var $test = $(
'<div style="display:none;">' +
'<select class="css-set-width"></select>' +
'</div>'
);
$('#qunit-fixture').append($style);
$('#qunit-fixture').append($test);
var width = select._resolveWidth($test.find('select'), 'computedstyle');
assert.equal(width, '500px');
});