Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2015-04-27 11:22:07 +0300
committerChris Rebert <code@rebertia.com>2015-04-27 11:23:39 +0300
commitcdb37dce3a85c07790e73b7e2c809860db6b0cad (patch)
tree4c83e3af184486ce277b5c5e7b9d680eb7d7c4ae /js
parent71597a44243d8b7716d7a6ac862d54db08b39626 (diff)
Set `box-sizing: border-box` on .container-viewport in #16142 testcase
Otherwise, the test doesn't properly fail when the fix is reverted.
Diffstat (limited to 'js')
-rw-r--r--js/tests/unit/tooltip.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js
index 711eba8ec0..51cfcb9335 100644
--- a/js/tests/unit/tooltip.js
+++ b/js/tests/unit/tooltip.js
@@ -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>'