chriseppstein/compass — pull request #1203 by edwardoriordan (2013-03-06 21:00:30+00:00)
Title: Inline block list update

Two changes/improvements to inline block lists

## inline-block-list-container

Add option to compensate for whitespace gap caused by by using inline-block. This is done with negative letter-spacing (the approach taken by yui (http://yui.yahooapis.com/3.5.0/build/cssgrids/grids.css).

This works well for mainstream browsers (legacy IE included despite what yui comments say) expect Opera 12 on windows. Added something to compensate for that as well (negative word spacing). Since compass doesn't have a $legacy-opera flag I don't know if this is even necessary?

Also not sure if horizontal-list-container is needed in inline list container. Don't think we need to clearfix and reset the box model?

## inline-block-list-item

Set relevant horizontal padding to 0 for first and last elements in the list. Also added the direction argument in order to set the 0 padding appropriately. Since you can't set list order not sure if necessary needed but overal I think it is nice to include what support is possible to right to left languages.

Also why was padding and not margin chosen as the separating property on list? Would the option to allow margin separators be useful.

## Todo

If this sounds vaguely reasonable I need to
1. Add tests
2. Add functionality to set the commentating letter-spacing in values other then em based on values set by the vertical rhythm module. Would be nice to set it to rems or rems with pixel fallbacks.