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

fix: get shadow DOM tests all passing #457

Merged
merged 1 commit into from Jul 21, 2017
Merged

fix: get shadow DOM tests all passing #457

merged 1 commit into from Jul 21, 2017

Conversation

dylanb
Copy link
Contributor

@dylanb dylanb commented Jul 20, 2017

No description provided.

@dylanb
Copy link
Contributor Author

dylanb commented Jul 20, 2017

This is the first totally clean build of the shadow DOM branch since we broke the rules :-)

@@ -123,6 +123,9 @@ axe.utils.getFlattenedTree = function (node, shadowId) {
axe.utils.getNodeFromTree = function (vNode, node) {
var found;

if (vNode.actualNode === node) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I'm still trying to keep these straight in my head, can you elaborate on what problem this solves?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes the additional test pass - specifically when some of our utilities look for the 'html' node in the vrtual tree, it was not being found.

Copy link
Contributor

@WilcoFiers WilcoFiers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@WilcoFiers WilcoFiers merged commit 4874327 into shadowDOM Jul 21, 2017
@dylanb dylanb deleted the sd/tests branch July 21, 2017 13:47
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

Successfully merging this pull request may close these issues.

None yet

3 participants