in reply to Re^4: A call to keyboards: Better chatterbox wrapping
in thread A call to keyboards: Better chatterbox wrapping

Why would a browser wrap at <b></b> ?? Neither IE nor FireFox do that for me. I'd be quite surprised at a browser that did such. They don't fold a <span></span> either.

- tye        

Replies are listed 'Best First'.
Re^6: A call to keyboards: Better chatterbox wrapping (no <b></b>)
by Aristotle (Chancellor) on Jan 10, 2005 at 23:57 UTC

    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.

      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