in reply to Re^5: A call to keyboards: Better chatterbox wrapping (no <b></b>)
in thread A call to keyboards: Better chatterbox wrapping

Right, <b> might be special-cased because it can reasonably be assumed to occur in the middle of words. But <span> does get wrapped here (Firefox 1.0) and I remember using that ages ago in IE-land too.

Interestingly, Opera doesn't behave as assumed either… guess I extrapolated from too few data points. :-/

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^7: A call to keyboards: Better chatterbox wrapping (test case)
by tye (Sage) on Jan 11, 2005 at 00:22 UTC

    I tested <span></span> in FireFox 0.8 and 1.0. It certainly didn't wrap (my nodelets where wider than my screen, much less my browser window).

    Here is a test case:

    If you view this node directly and you don't see horizontal scroll bars, then your browser is likely wrapping <span></span>.

    - tye        

      Interesting. Firefox does break up such markup, but only into two lines and no more, and then only if the browser window is very narrow.

      Makeshifts last the longest.

      If the contents of a <foo> / </foo> set are empty, isn't a browser allowed to discard them?

      Just going from memory, though.

      --MidLifeXis

        Only if it is really completely empty, ie not even blanks or breaks or any other whitespace. That much, at least, I know for sure…

        Makeshifts last the longest.