- From: Wendy A Chisholm <wendy@w3.org>
- Date: Tue, 15 Jan 2002 19:22:38 -0500
- To: jonathan.odonnell@ngv.vic.gov.au, w3c-wai-gl@w3.org
Jonathan, I believe the statement (slightly modified to make it more exact) seems to be true: "Any browser that supports CSS1 and/or CSS2 stylesheets supports the following 16 color names for use in style sheets (as outlined in CSS1 and CSS2): aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow" Therefore, it doesn't necessarily mean they will be supported if using the HTML font element, which isn't being considered in the CSS Techniques document. CSS3 has obviously taken it a step further. These 16 seem to be the lowest common denominator. Therefore, I propose modifying the CSS Techniques to read as follows: <proposal> 2.1 Color Contrast · Use numbers or one of the 16 CSS1/CSS2 color names to specify colors. The CSS1/CSS2 color names are: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow Example. H1 {color: #808000} H1 {color: rgb(50%,50%,0%)} H1 {color: red} End example. Deprecated example. H1 {color: aliceblue} End example. The current draft of <a href="http://www.w3.org/TR/2001/WD-css3-color-20010305#x11-color">CSS3 lists 140 color keywords</a>. As this document moves through the W3C process and into implementations, we will revisit backwards compatibility issues with this wider palette. </proposal> --wendy At 07:36 AM 1/15/02, Jonathan O'Donnell wrote: >Hi Wendy, Jo and others > >The statement does not appear to be true. > >Section 4.3 of the CSS3 working draft of 5 March 2001 >includes the X11 color keywords. [1] > >My understanding is that Opera supports the W3C >standards. Therefore, at this time, Opera only >understands the 16 names colours referenced in HTML4. >This is supported by an undated note by Sue Sims on >the CSS Pointers Group site. [2] > >According to a post by John Russell (3 Dec 2000) >"Amaya renders some but not all of these 140 colors." >[3] I don't know if this has been changed in the last >year. > >[1] >http://www.w3.org/TR/2001/WD-css3-color-20010305#x11-color >[2] http://css.nu/pointers/stickynote.html >[3] >http://lists.w3.org/Archives/Public/www-amaya-dev/2000Dec/0001.html > >Jonathan > > --- Jo Miller <jo@bendingline.com> wrote: >> Hi Wendy, >> >> I cannot verify the statement, though I suspect it >> is true, with >> qualifications. >... > > --- Previously, Wendy Chisholm had written: > >... >> >HTML Source lists 140 names >> >>http://www.htmlsource.f2s.com/stylesheets/namedcolours.html >> > >> ><quote> >> >These are in the stylesheet section because older >> browsers will not >> >recognise the words, they require the code. Any >> browser that can do >> >stylesheets can do these colours, so it's safe to >> use them if you're >> >using a style. >> ></quote> >> > >> >Can anyone verify that this statement is true? >... > > >===== >Jonathan O'Donnell >mailto:jonathan.odonnell@ngv.vic.gov.au >http://purl.nla.gov.au/net/jod > >http://my.yahoo.com.au - My Yahoo! >- It's My Yahoo! Get your own! -- wendy a chisholm world wide web consortium web accessibility initiative seattle, wa usa /--
Received on Tuesday, 15 January 2002 19:23:18 UTC