W3C home > Mailing lists > Public > public-annotation@w3.org > November 2015

[web-annotation] Funcationality: CSS Selector

From: Rob Sanderson via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Nov 2015 02:53:04 +0000
To: public-annotation@w3.org
Message-ID: <issues.opened-114732157-1446519181-sysbot+gh@w3.org>
azaroth42 has just created a new issue for 
https://github.com/w3c/web-annotation:

== Funcationality: CSS Selector ==

Discussion at TPAC led to bringing back up the use of CSS rules to 
select one or more elements.

Proposal:

* Mint a CssRangeSelector that uses CSS to select one or more 
elements.
* It would have a value property (rdf:value) containing the CSS 
selector rule to apply

Example:

```
{
  "type": "CssSelector",
  "value": "#foo > .bar + p"
}
```

(Really a CSS Selector Selector, but let's not! :smile_cat:)


See https://github.com/w3c/web-annotation/issues/94
Received on Tuesday, 3 November 2015 02:53:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:42 UTC