|
|
|
|
|
by ru999gol
2689 days ago
|
|
I'm so glad that google just sometimes ignores W3C's horrible design-by-committe nonsense. Its the same reason XHTML failed. #selector(type=TextQuoteSelector,exact=foo)
vs. #targetText=foo
/edited to be a more fair comparison |
|
https://www.w3.org/TR/selectors-states/#TextQuoteSelector_de...
Please note that you've actually changed the example!
If you just want to include `exact` or "targetText", you can still do:
http://csarven.ca/dokieli-rww#selector(type=TextQuoteSelecto...
or equivalent:
http://csarven.ca/dokieli-rww#selector(type=TextQuoteSelecto...
but that selects all instances of the text "annotation" in the document. Which is precisely why we need `prefix` and `suffix` to be able to identify the actual selection that the user made.
So, here is the equivalent of your example:
http://csarven.ca/dokieli-rww#selector(type=TextQuoteSelecto...
I hope that clarifies.
This is just tip of the iceberg! Let's stick to fair comparison and consider extensibility.