Add support for site-selectors

It would be nice if CSS allowed for selectors to be precisely used depending on where the document came from.

For example,  one may wish to have the selector

.body
{
  Background-color: purple !important;
  Color: white !important;
}

In a user style sheet.  However, the way say Firefox is setup now, this will be applied to every website.  What if I want this applied to say a specific website only and not to every website?  Say www.yahoo.com<http://www.yahoo.com>.

What about:

URL(*.yahoo.com) .body
{
  Background-color: purple !important;
  Color: white !important;
}

Also if I wanted a whole section of the stylesheet to be applied to a specific website:
@ApplyStylesToTheseUrls(*.yahoo.com)

And every selector below that line would apply only to URLs for yahoo.com unless another

@ApplyStylesToTheseUrls(*.google.com)

Were found, then all subsequent selectors would apply only to google.com

This would set things back to applying selectors to all websites.
@ApplyStylesToTheseUrls(*)



Regards,

Andrew Shropshire
AT&T Government Solutions, Inc.
703-506-5708

This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.

Received on Wednesday, 19 January 2011 19:13:52 UTC