Re: :target [via CSS Selectors as Fragment Identifiers Community Group]

On Mar 9, 2012, at 17:37 , Chris Lilley wrote:
> RB> """
> RB> If a location-set contains multiple nodes, the processor should
> RB> consider that this fragment identifier is pointing to all of them
> RB> simultaneously (e.g. for :target processing for instance).
> 
> That part is good.
> 
> RB> However, the identification of multiple results may not be
> RB> appropriate in some contexts. In these contexts, the processor
> RB> must return only the first result in document order.
> RB> """
> 
> That part is wooly and largely negates the clarity of the first part.

I was wondering if something specific was being considered there, or if we could just drop it. I think it would be fine for the processor to always return multiple results, and if there are contexts that only want the first (or the last, or the seventh from the back) then they can define that additional constraint themselves.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Coming up soon: I'm teaching a W3C online course on Mobile Web Apps
http://www.w3devcampus.com/writing-great-web-applications-for-mobile/

Received on Friday, 9 March 2012 17:31:13 UTC