New issue 43 by HighTech...@gmail.com: Multiple-selector doesn't return
elements in document order
http://code.google.com/p/fizzler/issues/detail?id=43
http://api.jquery.com/multiple-selector/ states that for a
multiple-selector "The order of the DOM elements in the returned jQuery
object ... will be in document order."
Fizzler doesn't respect this order, instead returning all the matches for
each selector in turn and not in document order.
Is this behavior defined by CSS standard, or is it just a jQuery feature?
Whilst jQuery does define this, the CSS spec does not appear to: CSS3 "A
comma-separated list of selectors represents the union of all elements
selected by each of the individual selectors in the list."
Since jQuery and Fizzler can be used to manipulate (and not just display)
documents it's arguably far more important that they each define an order
for how that union happens.
Comment #4 on issue 43 by azizatif: Multiple-selector doesn't return
elements in document order
http://code.google.com/p/fizzler/issues/detail?id=43
(No comment was entered for this change.)