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

Does order matter? #6

Open
apotonick opened this issue Apr 23, 2011 · 3 comments
Open

Does order matter? #6

apotonick opened this issue Apr 23, 2011 · 3 comments
Labels

Comments

@apotonick
Copy link
Collaborator

In my current implementation

<div>
  <a />
  <b />
</div>

is not equal to

<div>
  <b />
  <a />
</div>

This feels right. What's your opinion?

@alovak
Copy link
Owner

alovak commented Apr 25, 2011

it should not matter :) structure and content should matter. if we will represent elements in css/xpath selectors than we will not get any difference between this xml's :)

@apotonick
Copy link
Collaborator Author

@apotonick
Copy link
Collaborator Author

I guess we have to support both. Your argumentation is right, often you don't care about order. But what if you want to assert

   ul
    li id="first"
    li id="second"

where the order really affects the presentation?

We need both. Damnit, more work ;-)

@alovak alovak added the feature label Mar 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants