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

@script

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Mon, 8 Nov 1999 03:23:26 -0800 (PST)
Message-ID: <19991108112326.10765.rocketmail@web901.mail.yahoo.com>
To: www-style <www-style@w3.org>
Rather than introduce an @script rule with the
potential for similar @ rules, I would suggest a
single reusable @type rule. This would take the
following forms:

@type TypeOfEmbeddedObject "defaultformat";

OR:

@type TypeOfEmbeddedObject ["format"]? {
}


E.g.:

@type script "text/javascript";

@type image "image/svg";

Or:
@type image "image/svg" {
}
@type script {
}

Each level of CSS would define permitted Types.

E.g.:

sound
image
script

The advantage of this is that it allows the use of
@type for all future extensions to CSS.


=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
Received on Monday, 8 November 1999 06:23:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:01 GMT