A custom theme includes the following CSS:
box-sizing: border-box;
Unfortunately, this causes the script to fail when it reaches this section in floating_block.js, regardless of which browser is used or its compatibility:
// This breaks in anything less than IE 7. Prevent it from running.
if (!jQuery.support.boxModel) {
return;
}
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1513632_floating_block_ie_detection.patch | 433 bytes | alexpott |
Comments
Comment #1
alexpottI've tested this in my own development environment and set
box-sizing: border-box;on the body and all blocks in a sidebar where I'm floating one and everything worked perfectly.Comment #2
scurvy commentedThe problem occurs when setting the box sizing across the board for consistency. Try this:
Or this:
Comment #3
alexpottscurvy thanks for the info. Confirmed that behaviour you are experiencing. I've pushed the patch attached to 7.x-1.x dev branch - which turns out to be better anyway as boxmodel is not supported by IE7 put this module works for IE7 :)