This is not currently fully supported, because JavaScript does not target "quantity" and "attribute" selectors properly.