- From: Jo Miller <jo@bendingline.com>
- Date: Thu, 17 Jan 2002 10:22:08 -0500
- To: w3c-wai-gl@w3.org
I agree with your proposal, Wendy.
Thank you for the updated CSS-TECHS issues list.
Regarding Chuck Baslock's question [1], I cannot find a Mac browser
that the example works in either (Chuck tested it in a variety of
Windows browsers).
The alternative example below does work in the following browsers:
Mozilla 0.9.7 Mac
IE 5.5 Mac
Opera 5.0b5.465 Mac
iCab 2.5.3 (Mac)
IE 5-6 Windows
Netscape 4.7 Windows (border is only as wide as the text in N4, of course)
Netscape 6.2 Windows
Opera 5 Windows
AOL 6.0 Windows
Someone else may know a shorter and more elegant way to write it, though.
Example.
<HEAD>
<TITLE>Redline with style sheets</TITLE>
<STYLE type="text/css">
H1 {border-top-width: 2px;
border-top-style: solid;
padding-top: 4px;
border-color: red }
</STYLE>
</HEAD>
<BODY>
<H1>Chapter 8 - Auditory and Tactile Displays</H1>
</BODY>
End example.
Jo
[1] http://lists.w3.org/Archives/Public/w3c-wai-gl/2001JanMar/0657.html
At 7:22 PM -0500 1/15/02, Wendy A Chisholm wrote:
>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
>/--
--
Jo Miller
jo@bendingline.com
Received on Thursday, 17 January 2002 10:22:10 UTC