W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Re: modifying tidy's wrap behavior

From: Jeff Hennick <jhennick@delphi.com>
Date: Fri, 28 Jul 2000 10:06:30 -0400
Message-Id: <4.3.2.7.0.20000728095308.00ac5580@pop.delphi.com>
To: html-tidy@w3.org
Peter Evans  writes:
> > <img
> > src="foo.gif">this-string-should-stay-adjacent-to-gif--nospace-allowed
>
>[which is "tidied" as:]
>
> > <img src="foo.gif">
> > this-string-should-stay-adjacent-to-gif--nospace-allowed
>
> > This introduces a space between the graphic and the text, and that
> > space ruins the logical formula which we are attempting to display.
>
>That sounds to me like a browser bug; but let's not quibble and instead
>accept that you don't want the line break.

The browser does right, interpreting the end-of-line as white-space and 
displaying it as a space.

I have a similar "problem" with Tidy when changing font size/weight between 
words.  Where Tidy puts the <span ...> tag (or whatever) relative to its 
adjacent space does matter, as the size of that space changes with which 
font it is associated with.  Tidy, quite understandably, does not 
"remember" which side of the space the tag was on.

Jeff Hennick
JHennick@Delphi.Com
Received on Friday, 28 July 2000 10:06:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT