- From: Toby Inkster <tai@g5n.co.uk>
- Date: Tue, 15 Nov 2011 13:38:18 +0000
- To: Dan Brickley <danbri@danbri.org>
- Cc: public-html-data-tf@w3.org, Tantek Çelik <tantek@tantek.com>
On Mon, 14 Nov 2011 12:00:32 +0100
Dan Brickley <danbri@danbri.org> wrote:
> How far does [property=~"http://example.com/] go towards
> working with RDFa?
Say you have the following style:
div[typeof="http://example.com/Person"] { color: green; }
Then this will be green:
<div typeof="http://example.com/Person">...</div>
But this will not:
<div vocab="http://example.com/" typeof="Person">...</div>
A couple of years ago I played around with using Javascript as a shim
to take into account full URIs for styling purposes:
http://buzzword.org.uk/2009/stylish-rdfa/test
It only understands RDFa 1.0, but would probably not be especially
difficult to upgrade to RDFa 1.1.
--
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 15 November 2011 13:37:40 UTC