W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2005

Re: Accessibility of "CHM" format resources

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>
Date: Thu, 09 Jun 2005 15:43:48 +0200
Message-Id: <6.0.0.22.2.20050609150518.03120b50@mailserv.esat.kuleuven.be>
To: w3c-wai-ig@w3.org

Hi Orion and All,

I realise I'm coming late to this discussion, but there was a
comment on CSS that sounded familiar.

At 03:58 7/06/2005, Orion Adrian wrote:

>Constants would allow for better management and avoid lines like:
>         background:#eff0ec;
>which when reading do me no good since I can't convert rgb codes into
>color in my head. Also in the case of opera.com, it uses extensive use
>of pixel lengths and sizes.

Orion is not the first web developer to complain about the lack of
constants or something similar. "Spice"[1] was a submission to W3C
that addressed this. Spice is described as "amalgam of ideas from
DSSSL, CSS and JavaScript". It allows you to write something like
the following:



headingFont = "Times New Roman";
headingWeight = bold;
headingPosture = italic;

style h1
{
     fontFamily: headingFont;
     fontWeight: headingWeight;
     fontStyle: headingPosture;
     fontSize: 1.5em;
     textAlign: center;
     display: block
}

style h2
{
     fontFamily: headingFont;
     fontWeight: headingWeight;
     fontStyle: headingPosture;
     fontSize: 1.2em;
     textAlign: left;
     display: block
}



By the way, the spec doesn't say if Spice is a programming
language :-P

Regards,

Christophe Strobbe



[1] http://www.w3.org/TR/1998/NOTE-spice-19980123.html (There is also
a short introduction to Spice in Frank Boumphrey's book
"Professional Style Sheets for HTML and XML" (1998). Boumphrey ventured
to predict that "Spice will be the style language of choice for XML".)
Received on Thursday, 9 June 2005 13:44:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:21 GMT