W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: breaking overflow

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 2 Jan 2010 21:01:58 -0600
Message-ID: <dd0fbad1001021901h73a7041bm6a8be6f1018d1aee@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: James Hopkins <james@idreamincode.co.uk>, Anton Prowse <prowse@moonhenge.net>, www-style <www-style@w3.org>, Niels Matthijs <niels.matthijs@internetarchitects.be>
On Fri, Jan 1, 2010 at 11:31 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
> Well then, we still need "white-space-collapse: discard" [1], if you want to use it with that "specific and bizarre" HTML. What else you got?

Ah, I'd completely forgotten about that property.  Thanks for pointing
it out!  It'll be helpful when it gets supported.

> Floating has its own other problems too, when used to create what is really more like a run of inline blocks than what "float" was actually created for. For instance, it doesn't allow you to center the LI elements, as you can easily do with inline blocks:

Indeed.

By the way, the "specific and bizarre HTML" I was referring to was this:

<ul
  ><li>foo</li
  ><li>bar</li
  ><li>baz</li
></ul>

This embeds the whitespace you use to prettyprint your code inside the
tags, so there's no whitespace at all in the content.  I've only had
to do this once, though, and I felt pretty bad about it.

~TJ
Received on Sunday, 3 January 2010 03:02:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:23 GMT