Commit cdb37dce authored by Chris Rebert's avatar Chris Rebert

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

Otherwise, the test doesn't properly fail when the fix is reverted.
parent 71597a44
...@@ -768,6 +768,7 @@ $(function () { ...@@ -768,6 +768,7 @@ $(function () {
assert.expect(2) assert.expect(2)
var styles = '<style>' var styles = '<style>'
+ '.tooltip, .tooltip *, .tooltip *:before, .tooltip *:after { box-sizing: border-box; }' + '.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; }' + '.tooltip, .tooltip .tooltip-inner { width: 50px; height: 50px; max-width: none; background: red; }'
+ '.container-viewport { padding: 100px; margin-left: 100px; width: 100px; }' + '.container-viewport { padding: 100px; margin-left: 100px; width: 100px; }'
+ '</style>' + '</style>'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment