Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodes being transformed multiple times through different selectors not well defined #8

Open
danielytics opened this issue Jun 28, 2015 · 0 comments

Comments

@danielytics
Copy link
Member

Currently it is impossible to transform the same node with multiple transformations using a single selector as all selectors must be unique, but it is possible to write different selectors that happen to address the same node(s). When this happens, the result is untested and not well defined.

While untested, transforming the same node in a way that does not touch the children (or modify scoped-parameters) should work as expected. That is, if you apply both content and class transformations to the same node(s), it should work as expected.

If the children (and/or scoped-parameters) are modified, then it is undefined what will happen. Likely it would be order-dependent.

Need to test the former case to ensure it works as expected and clearly define what should happen in the latter case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant