[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: FO. lists as tables. Re: Q: XML+XSL transforms to a prin

Subject: Re: FO. lists as tables. Re: Q: XML+XSL transforms to a print-ready format
From: Håkon Wium Lie <howcome@xxxxxxxxxxxxxxxxx>
Date: Mon, 18 Oct 1999 11:55:05 +0200 (Europe de l'Ouest (Heure d'été))
thick red border
Also sprach Steve Schafer:

 > > > Why is that? CSS2's "font" property is a mess.

 > >Your FUD-factor is high, could you explain your position a bit more?
 > >Until someone is able to change my mind, I consider the 'font'
 > >property a neat way of setting several properties at once.
 > I think Sebastian covered it well. Shortcut properties are in XSL
 > simply for compatibility with CSS. There is no real justification for
 > their inclusion on XML/XSL grounds, and they conflict with the design
 > goals of XML (see the XML rec, section 1.1, points 4, 5 and 10). They
 > make more work for the parser without adding any significant value.

Ok, so you're against shortcut properties in general, not 'font' in
particular. That's fair.

Note, however, that your style sheets will become significantly longer
if you abolish shorthand properties. E.g., this declaration:

  border: thick solid red;

is expanded into:

  border-top-width: thick;
  border-right-width: thick;
  border-bottom-width: thick;
  border-left-width: thick;
  border-top-style: solid;
  border-right-style: red;
  border-bottom-style: red;
  border-left-style: red;
  border-top-color: red;
  border-right-color: red;
  border-bottom-color: red;
  border-left-color: red;



Chief Technology Officer                                Opera Software
Håkon Wium Lie                     http://www.opera.com/people/howcome
howcome@xxxxxxxxx                                gets you there faster

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.