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

Re: Way to Represent <img> Behaviour in CSS

From: Tantek Celik <tantek@cs.stanford.edu>
Date: Wed, 22 Nov 2000 10:30:03 -0800
To: Sean Palmer <wapdesign@wapdesign.org.uk>, www-style@w3.org
Message-ID: <1237204784-1021458257@psdbay.com>
From: "Sean Palmer" <wapdesign@wapdesign.org.uk>
Date: Wed, Nov 22, 2000, 9:34 AM

> *But* it isn't legal to have attr(X) inside a <uri> yet, or apply it to any
> other form of selector. That's what I'm asking, can we have uri(attr(X)) in
> CSS3, and have it apply to anything?

Yes, this is allowed by the CSS3 UI draft [1], specifically, the extensions
to the content property [2]. Note in particular "Applies to: all elements".

Also note "Appendix A. Additions to the Base Style Sheet for HTML4" [3],
specifically the rule:

 content: url(attr(src));
 border: none;
 user-select: none;
 user-focus: normal;





-- (not so) Random fortune
"X-Mailer: Matthew Mail" (hey, it was in the header)
- when you absolutely, positively want to be sure it arrives. five times. ;)
Received on Wednesday, 22 November 2000 13:29:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:55 UTC