chriseppstein/compass — pull request #780 by JohnAlbin (2012-03-13 12:18:25+00:00)
Title: Remove (or explain) reset-baseline in vertical rhythym parital

The attached commit reverts commit c92766ba99d7f2c6f00f666c804cbc8e6de309f2.

I looked at the new `reset-baseline()` mixin in Compass 0.12 and I'm completely at a loss for why it was added. @scottdavis, can you share your thoughts?

Firstly, the `if($relative-font-sizing, $base-font-size, $base-font-size)` has to be a typo, right?

Also, the name seems misleading. reset-baseline should set the font size and the line height, I would think. `establish-baseline()` sets the font size and the line height. But `reset-baseline()` only sets the line height.

Finally, since `$relative-font-sizing` defaults to true and `$font-unit` defaults to 1em, the `reset-baseline()` mixin sets a line height that is relative to… the element's font size. And if the element's font size isn't the base font size, then the line-height has been set to a value which is NOT conforming to the base line height/vertical rhythm.

It appears you can only use this mixin if the element happens to be using a font size equal to $base-font-size.