forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav...." <brightoncomput...@brightontown.com.au>
Subject RE: title attribute in css links
Date Thu, 01 Jun 2006 10:55:09 GMT


> -----Original Message-----
> From: Mark Eggers [mailto:its_toasted@yahoo.com]
> Sent: Thursday, 1 June 2006 1:53 PM
> To: dev@forrest.apache.org
> Subject: title attribute in css links
> 
> Hello,
> 
> Adding a second css file with branding-css-links.ft
> does not work under Firefox, but does under IE 6.  It
> turns out that there is a reason according to both the
> Bugzilla comments and the W3 recommendations:
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=223410
> http://www.w3.org/TR/html4/present/styles.html#h-14.3.2
> 
> Basically, the author uses a title for the preferred
> style sheet (according to Mozilla's reading of the
> above).  Since branding-css-links.ft adds a title
> attribute for each css this means the first css file
> in each page gets used and the second one gets ignored
> by Firefox.
> 
> Is there a use planned for the title attribute in the
> css links?
> 

Good catch Mark, it does seem as though we are using the title
Incorrectly.[1] Moreover, the ft file incorrectly leaves out titles
For alternates and puts one in if it not alternate. It is just
Not as black and white as that. It depends on several factors, mainly if you
want the stylesheet to be persistent, preferred or alternate and
combinations of.

Now I think Forrest main basic/screen/common etc Stylesheets are to be
persistent and the other  stylesheets such as pelt , print are to be
alternate, so that leaves us with what to do with user declared stylesheets,
they should be alternate and chosen by the user in preference to pelt or
whatever, they wont be used in place of persistent stylesheets but can
override styling from them if required.

This could get confusing, [1] explains it in a nutshell, so we should change
accordingly.


[1] - http://www.w3.org/TR/html401/present/styles.html#h-14.3.1

Gav...


> Thanks - Mark
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.8.0/353 - Release Date: 5/31/2006



Mime
View raw message