W3C home > Mailing lists > Public > www-html@w3.org > November 1999

RE: The "title" attribute of "style" elements

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Thu, 4 Nov 1999 23:27:24 +0000 (GMT)
To: Chris Wilson <cwilso@microsoft.com>
cc: "'L. David Baron'" <dbaron@fas.harvard.edu>, www-html@w3.org, dsr@w3.org, ij@w3.org, lehors@w3.org
Message-ID: <Pine.GSO.4.04.9911042317180.1977-100000@mary.bath.ac.uk>
 On Thu, 4 Nov 1999, Chris Wilson wrote:
>>> ...there are a VERY large number of documents that include more
>>> than one STYLE element.
>> Yes, but how many of them have TITLE attributes? That's the only
>> question relevant to analyzing Ian's proposal. I would guess almost
>> none, since currently the TITLE attribute doesn't "do" anything.
> What a waste. You have a variety of choices for how to implement
> this functionality in a way that does not break backward
> compatibility - in fact, I gave you a way to do so that I chose two
> years ago explicitly so that it would not cause this problem - [...]

Hang on -- the suggestion you gave does _not_ have this functionality.

I am suggesting emulating the behaviour of the _title_ attribute. I am
NOT looking for a way to hook things into scripting -- I am looking
for a way to introduce multiple alternate, named stylesheets.

For example, my proposal allows you to supplement different alternate
stylesheets with embedded stylesheet styles:

   <!-- first, link in to four different alternate stylesheets: -->
   <link type="text/css" rel="stylesheet" href="style1.css" title="a">
   <link type="text/css" rel="stylesheet" href="style2.css" title="b">
   <link type="text/css" rel="stylesheet" href="style3.css" title="c">
   <link type="text/css" rel="stylesheet" href="style4.css" title="d">

   <!-- next, add special style relevant only to this page for each of
   the alternate stylesheets -->
   <style type="text/css" title="a"> ... </style>
   <style type="text/css" title="b"> ... </style>
   <style type="text/css" title="c"> ... </style>
   <style type="text/css" title="d"> ... </style>

   <!-- next, add an alternative style specific to this page -->
   <style type="text/css" title="e"> ... </style>

How does your proposal even come _close_ to supporting this?

Ian Hickson
"So far, people have shown a reasonable amount of sense in evaluating
souls (whether they are properly priced)."
  -- Nick Gibbins; Author of http://totl.net/Soul/, 1999-10-05
Received on Thursday, 4 November 1999 18:27:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:51 UTC