Skip to content

Commit cdb37dc

Browse files
committed
Set box-sizing: border-box on .container-viewport in twbs#16142 testcase
Otherwise, the test doesn't properly fail when the fix is reverted.
1 parent 71597a4 commit cdb37dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/tests/unit/tooltip.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@ $(function () {
768768
assert.expect(2)
769769
var styles = '<style>'
770770
+ '.tooltip, .tooltip *, .tooltip *:before, .tooltip *:after { box-sizing: border-box; }'
771+
+ '.container-viewport, .container-viewport *, .container-viewport *:before, .container-viewport *:after { box-sizing: border-box; }'
771772
+ '.tooltip, .tooltip .tooltip-inner { width: 50px; height: 50px; max-width: none; background: red; }'
772773
+ '.container-viewport { padding: 100px; margin-left: 100px; width: 100px; }'
773774
+ '</style>'

0 commit comments

Comments
 (0)