[
Lists Home |
Date Index |
Thread Index
]
On Tue, 2005-04-05 at 10:12 +0300, Razvan MIHAIU wrote:
> > Never mind the fact that an "empty" stylesheet works. It's just a
> > quirk. Mozilla has unfortunately a lot of Internet cruft to carry on
> > its shoulders and thus the algorithms on how to display things,
> > especially in the XML realm, can seem arbitrary if you don't follow the
> > whole sordid history.
> >
> I can accept a quirk, but itÿs unacceptable to learn something
> without understanding the issue in question. I hope that your articles
> provide an answer to this 'quirk'.
Nah. In my articles, I'm far more interested in practicality than
history (as they clearly state).
Off-head, I can tell you that the idea is that if you give no indication
whatsoever of style, Mozilla prefers to warn you and then give the
dumbest possible representation. Some people don't like this, and some
people even like the very fancy representation that IE defaults to, but
regardless, Mozilla use the *presence* of a stylesheet PI as a trigger
to up the semantic ante even before it starts looking into the specifics
of the stylesheet. This is similar to how any doc type declaration
turns off "quirks" mode for HTML rendering even before consideration of
the specific doc type you're invoking. It's really just a cheap
heuristic, and nothing deeper.
Mozilla is quite free, from a standards POV, to do this, and not mimic
either Amaya or IE. Sucks for interop, but that's the Web for you.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
Writing and Reading XML with XIST - http://www.xml.com/pub/a/2005/03/16/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
State of the art in XML modeling - http://www.ibm.com/developerworks/xml/library/x-think30.html
|