• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pretty printing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pretty printing?


  • Subject: Re: Pretty printing?
  • From: Guido Neitzer <email@hidden>
  • Date: Sat, 30 Jun 2007 10:46:39 -0600

On 30.06.2007, at 04:50, Lachlan Deck wrote:

Sure, that's one option (and a good one) but I was actually more motivated by the presentation for our web-designer's eye. i.e., the component's to my eyes look nicely laid out and thus easy to follow, but when running the app there's lots of whitespace and unpredictable indentation.

The problem I'd have with that, is that you might get unpredictable rendering artifacts. E.g. if you format a component in ComponentEditor, a word with a hyperlink might get rendered like that (because the hyperlink is not necessarily a WOHyperlink):


<webobject name="Link">
	Word
</webobject>

which leads to unpredictable underlining for underlined links. The same might happen for things you have to do for Internet Explorer, like having a construct like that:

<li><a href="#">Word </a></li>

Note the intended whitespace in the link. This is necessary for IE not to mess up the height of the <li>. And there are plenty of other things that can go wrong.

So, I'd prefer that the HTML comes to the browser in the way I write it.

cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Pretty printing? (From: Lachlan Deck <email@hidden>)
 >Re: Pretty printing? (From: Guido Neitzer <email@hidden>)
 >Re: Pretty printing? (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: PayPal sdk and Java Classpath.
  • Next by Date: webobjects not open source (was Re: [Wonder-disc] log4j version update?)
  • Previous by thread: Re: Pretty printing?
  • Next by thread: Caret Notation
  • Index(es):
    • Date
    • Thread