Small comment on rdf-sparql-xmlres and CSS styling

Somebody asked me to look at rdf-sparql-xmlres (does the format have a 
name, b.t.w.? if not, how about SPARQL-R?) to see if there were any 
implications for CSS.

There weren't any, but I have one comment on the spec:

It would be good if the spec mentioned that the <uri> element is to be 
considered a "hyperlink source anchor"[1] for the purpose of styling it 
with CSS. That allows the CSS pseudo-classes 'link' and 'visited' to 
apply, which in turn makes it possible to style visited links 
differently from unvisited ones. (If 'link' and 'visited' don't apply, 
the element can still be styled, but it will not be possible to 
distinguish visited from unvisited links.)

The same may apply to the <link> element, although I'm not sure it makes 
sense to traverse that link. The spec seems to imply that <link> only 
points to RDF data.

[1] 
http://www.w3.org/TR/2005/WD-CSS21-20050613/selector.html#link-pseudo-classes


Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Monday, 12 September 2005 15:41:19 UTC