0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

Set box-sizing: border-box on .container-viewport in #16142 testcase

Otherwise, the test doesn't properly fail when the fix is reverted.
This commit is contained in:
Chris Rebert 2015-04-27 01:22:07 -07:00
parent 71597a4424
commit cdb37dce3a

View 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>'