W3C home > Mailing lists > Public > public-html@w3.org > June 2008

Re: Proposal: Default style definitions for elements

From: Robert J Burns <rob@robburns.com>
Date: Tue, 3 Jun 2008 22:22:29 +0200
Cc: <public-html@w3.org>
Message-Id: <E4EEE671-E939-4548-8A65-26DE1EA7154D@robburns.com>
To: "Justin James" <j_james@mindspring.com>

HI Justin,

On Jun 3, 2008, at 10:10 PM, Justin James wrote:

> Folks -
> I would like to make a proposal that I think would significantly  
> benefit
> everyone. For whatever reason, current HTML specs (as far as I can  
> find) do
> not provide any standard default style definitions for the elements.  
> This is
> a major problem, because HTML authors, for right or wrong, rely upon  
> the
> default style definitions in their Favorite Browser of Choice, and  
> then get
> in a huff about "evil, non-compliant browsers" when their HTML does  
> not look
> right in Other Browsers. This has been a problem for 15 years as far  
> as I
> can tell. I am sure that the browser vendors would appreciate not  
> being
> blamed anymore for these problems. :)
> While it is clear that I support the full and complete separation of
> semantics from presentation, I also believe that HTML authors should
> reasonably expect that their Web page will display the same across  
> all HTML
> compliant browsers, without them needing to specify the values for  
> every
> single CSS property that could apply to every element used.  
> Realistically
> speaking, that is the only way to ensure that a page will never  
> stumble upon
> differences in default styles, and it is not realistic to expect  
> that at
> all.

I agree with you here. However, I think for most existing HTML4  
elements we can simply make reference in the HTML5 draft to the CSS2  
and CSS3 default stylesheet appendix. I do not have a strong opinion  
on whether we make a normative or an informative reference to the CSS  
appendix. However, if you are concerned about consistent default  
presentation across the various UAs media targetted by the CSS default  
stylesheet appendix we would need to make it a normative reference  
(even UAs must make use of the CSS appendix default stylesheet).

The other issue is any newly introduced elements and attributes for  
HTML5. These will not appear in the CSS appendix (CSS2 anyway). We  
would need to define a default stylesheet for these elements and  
attributes if there is to be a consistent presentation across like- 
media UAs.

> I am not sure what I need to do on my part to have this become an  
> "official"
> proposal for discussion/wiki-fication/yada/yada/yada/, but please  
> let me
> know and I will be glad to do that.

I think that might be a good idea. There is already a related wiki  
page[1] started long ago (in the scale of the WG). You might want to  
use that as a point of departure.

Take care,

[1]: <http://esw.w3.org/topic/HTML/DefaultStyleSheet05>
Received on Tuesday, 3 June 2008 20:23:08 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:32 UTC