On Monday 02 December 2002 23:20, Tod Harter wrote: > Yeah,. but have you ever ACTUALLY tried to use CSS3 (and heck even a > lot of CSS2) with XML and Mozilla?
Well, yeah, I have... :-) > Don't hold your breath for it to > work reliably. Some things do, but the level of hackery required is > 11 on a scale of 1 to 10. Its a LOT simpler at this stage of the game > to just output XHTML to browsers unless they specifically ask for XML > (stylechooser etc.). IMHO. CSS3 is at this point in development, and none of the specifications has currently proceeded to Recommendation status, http://www.w3.org/Style/CSS/current-work .....but, what I have in mind is only one little feature from the CSS3 Selectors specification (which is currently a Candidate Recommendation), namely the possibility to attach a style to an element with a namespace prefix. The reason you need that for this purpose is that you would have to mix namespaces, including XHTML (title elements; allow users to write HTML comments in your blog, etc.). But, once you've got that selector working, I'd say GO! :-) And that's what's working reliably in Mozilla, I think. I've made a simple text-case here: http://dev.kjernsmo.net/examples/xmlcssns.xml Also check out the W3C Test Suite for CSS3 Selectors, I think Mozilla is doing pretty good...: http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/xml/full/flat/ The relevant Mozilla bug is http://bugzilla.mozilla.org/show_bug.cgi?id=65133 (Vote, vote, vote!) (the owner of that bug is BTW one if the editors for the CSS3 Selectors specification) Cheers, Kjetil -- Kjetil Kjernsmo Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Homepage: http://www.kjetil.kjernsmo.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
