W3C home > Mailing lists > Public > www-style@w3.org > August 2005

Re: [CSS21] Wider variety of (non-junk) examples requested

From: Chris Lilley <chris@w3.org>
Date: Fri, 26 Aug 2005 20:18:09 +0200
Message-ID: <71673973.20050826201809@w3.org>
To: Adam Kuehn <akuehn@nc.rr.com>
Cc: Ian Hickson <ian@hixie.ch>, Bjoern Hoehrmann <derhoermi@gmx.net>, <www-style@w3.org>

On Friday, August 26, 2005, 6:37:50 PM, Adam wrote:

AK> Chris Lilley wrote:

>>In a fragment like this:
>>   <DIV>
>>     Some text
>>     <P>More text</P>
>>   </DIV>
>>the fragment is itself a well formed XML document, thus meeting the
>>minimum quality criteria.

AK> So unless I'm misunderstanding something, you are pretty much just 
AK> saying, "Please close your tags, and use lower case more," is that 
AK> about it?

No. I'm saying, conform to the specifications for the languages that you
claim to be styling. To see the difference between ""Please close your
tags, and use lower case more," I refer you to the XMLspecification -
upper case element names are allowed in XML and not all elements have
closing tags.

AK>  Doing that would seem to cover points 1 & 4 in your
AK> original post, would it not?

Ian suggests that the images and stylesheets need to be changed as well.

AK> I realize that I am presenting this in 
AK> a very informal and non-technical way, and I certainly don't want to 
AK> speak for Chris and the CDF WG, but doesn't that just about sum it 
AK> up?

Well, to a first order, yes.

AK>   Nobody expects a doctype for a bunch of three-line examples,
AK> right?

The SGML specification does, unfortunately, but of course the XML
specification does not. Converting the majority of HTML examples to
XHTML would thus remove the need for a DOCTYPE.

AK>  So assuming that is a correct summary, is there some reason 
AK> the CSS WG would be unwilling to make those relatively minor changes 
AK> in the name of promoting careful authorship?

Good point - people copy examples. Providing good examples to copy
rather than bad ones is thus a benefit.

AK>   (I take it for granted
AK> that most of the people reading this list would not leave an unclosed 
AK> paragraph in their own code.)

That may be a bit of an assumption. Some people avoid closing some
elements in HTML because the 'parsing' employed 'corrects' the </p> to
<p> and gives them extra space between paragraphs.

AK> Ian has already responded that the CSS WG is unwilling to rework the 
AK> examples to use other markup languages for fear of introducing 
AK> unintended errors, so the only remaining issue would be placing the 
AK> examples in a separate file.

AK> Just trying to distill things a little.

Much appreciated.

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
Received on Friday, 26 August 2005 18:18:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:20 UTC