twitter/bootstrap — pull request #8358 by juthilo (2013-07-01 19:23:06+00:00)
Title: Fix responsive utilities for table elements

This change prevents situations where specificity causes some rules to
be overridden by the ones intended for mobile.
* Added mixin `responsive-invisibility()`
* Swapped out `display: none !important;` for new mixin in `responsive-utilities.less`

#### What does this fix? Scenario ####
Viewport matches desktop media query. The tag in question is a `td.visible-sm`.

1. ~~`.visible-sm { display: block !important; }`~~ Table cell would be visible on mobile
2. ~~`.visible-sm { display: none !important; }`~~ Media query kicks in, table cell would be hidden on desktop
3. `td.visible-sm { display: table-cell !important; }` Other rules overridden due to specificity in rules for phone. Table cell unintentionally visible on desktop