h5bp/html5-boilerplate — pull request #995 by cust0dian (2012-02-23 19:35:06+00:00)
Title: Display block elements as inline inside "ir" wrap.

Fixes #991.

Due to different implementation of "text-indent" property in FF10 and IE9
inline elements after block element are not considred as first text
elements and thus are not being indented leaving them visible.

The solution is to display all block elements inside wrap element with
"ir" class as inline making all content to be one line which will be
properly indented in all browsers.

Might cuase issues if content is enormous making -999em indent not enough,
but probability of such event is minimal.

Might be clearer to use "*" selector, but it is know to have bad performance. List of
block elements is from https://developer.mozilla.org/en/HTML/Block-level_elements.

Reported-by: erethnor
Signed-off-by: Serg Nesterov