zurb/foundation — pull request #2173 by lukebussey (2013-04-12 19:37:14+00:00)
Title: Fix for serious visibility display bug

The visibility classes use the property of "inherit" which causes the element they are set on to inherit the display property of the parent element.

This causes an issue where an inline element is used within a block element as demonstrated on the following page where a label is used within a paragraph of text:

http://lukebussey.com/foundation-visibility-classes-bug/

![Screen Shot 2013-04-12 at 3 35 54 PM](https://f.cloud.github.com/assets/624446/374785/45a2da76-a3a8-11e2-912c-289e7989d188.png)

The property should be set to "initial" rather than "inherit" which gives the element the original display property rather than inheriting it from its parent which may be incorrect.

The fix is demonstrated here:

![Screen Shot 2013-04-12 at 3 36 14 PM](https://f.cloud.github.com/assets/624446/374786/4fa80258-a3a8-11e2-98e5-1ad8f26aaf0e.png)

http://lukebussey.com/foundation-visibility-classes-fix/

BTW: I didn't modify any of the table styles in the _visibility.scss file, the same fix could be applied to them but I haven't tested it.

Thanks!
Luke