From: XhmikosR Date: Tue, 12 May 2020 04:59:22 +0000 (+0300) Subject: Backport d59de33 from #30772 X-Git-Tag: v4.5.0~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30e7df6cca6d5688b456b026c457ab98acc94b55;p=thirdparty%2Fbootstrap.git Backport d59de33 from #30772 Add a test about the scrollbar issue on non-integer width --- diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 71229a79cf..fefd84fceb 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -745,6 +745,45 @@ $(function () { }).bootstrapModal('show') }) + QUnit.test('should not adjust the inline body padding when it does not overflow, even on a scaled display', function (assert) { + assert.expect(1) + var done = assert.async() + + var $modal = $([ + '