]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Set `box-sizing: border-box` on .container-viewport in #16142 testcase
authorChris Rebert <code@rebertia.com>
Mon, 27 Apr 2015 08:22:07 +0000 (01:22 -0700)
committerChris Rebert <code@rebertia.com>
Mon, 27 Apr 2015 08:23:39 +0000 (01:23 -0700)
Otherwise, the test doesn't properly fail when the fix is reverted.

js/tests/unit/tooltip.js

index 711eba8ec0b30361e81bbfab9c0e64de1928f4b1..51cfcb93351ad6340de883656dded969f5631ca8 100644 (file)
@@ -768,6 +768,7 @@ $(function () {
     assert.expect(2)
     var styles = '<style>'
         + '.tooltip, .tooltip *, .tooltip *:before, .tooltip *:after { box-sizing: border-box; }'
+        + '.container-viewport, .container-viewport *, .container-viewport *:before, .container-viewport *:after { box-sizing: border-box; }'
         + '.tooltip, .tooltip .tooltip-inner { width: 50px; height: 50px; max-width: none; background: red; }'
         + '.container-viewport { padding: 100px; margin-left: 100px; width: 100px; }'
         + '</style>'