CSS selectors are predicates, optionally subject to composition by a number of reasonably well defined operators (as evidenced by the fact that they work roughly the same in different browsers). Would not it make sense, therefore, to actually expand the structure of the selector for serialization purposes, rather than keep it lumped together in a string?
Instead of "body"something to the tune of "body", with selector composition operators having their own element names (apart from comma, which can be kept implicit among siblings).
CSS selectors are predicates, optionally subject to composition by a number of reasonably well defined operators (as evidenced by the fact that they work roughly the same in different browsers). Would not it make sense, therefore, to actually expand the structure of the selector for serialization purposes, rather than keep it lumped together in a string?
Instead of "body"something to the tune of "body", with selector composition operators having their own element names (apart from comma, which can be kept implicit among siblings).