Re: inline-block whitespace collapse

On Wed, Oct 22, 2014 at 10:28 AM, Karen Menezes <karen.menezes@gmail.com> wrote:
> Hi!
>
> Wished to inquire about white space collapse for inline-block.
>
> IMHO, inline block for layouting has several advantages over floats. I
> understand flexbox will suffice in some cases, but it would be awesome to
> have some control over the whitespace when inline-block just works.
>
> I generally use it when I have an unordered list, since it's not mandatory
> to have closing <li> tags in HTML5. I find this the cleanest of all the
> awful hacks to overcome whitespace between inline-block elements..
>
> Was wondering about the status of this link?
> Is this something really far away in the future? The link indicates so.
> http://dev.w3.org/csswg/css-text-4/#white-space-collapsing

That link is indeed the plan for handling this.  Whether it's far in
the future or not depends entirely on browsers' willingness to
implement it.

~TJ

Received on Wednesday, 22 October 2014 18:13:49 UTC