W3C home > Mailing lists > Public > public-openannotation@w3.org > January 2013

Style CSS Challenge!

From: Robert Sanderson <azaroth42@gmail.com>
Date: Thu, 24 Jan 2013 13:26:00 -0700
Message-ID: <CABevsUFoVYLQ13nZ0U+HHa-5WF4tt_xxszXbaenitA2v1u2m=g@mail.gmail.com>
To: public-openannotation <public-openannotation@w3.org>
Dear all, and especially any lurking CSS gurus,

One of the frequently expressed use cases for Style is to dim the rest
of the resource, rather than put a border or color over top of the
segment of interest.  Especially for images, where a semi-transparent
color could obscure the features that are being annotated.

So, the challenge ... is there a way using CSS to natively express
this sort of thing?  If not, do we need to add a second property to
give the class to apply to everything except the segment?  For example
oa:styleClass is the class to apply to the segment and
oa:inverseStyleClass is the class to apply to everything else.

Many thanks!

Received on Thursday, 24 January 2013 20:26:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:22:03 UTC