Skip to content

Merge "get a known element" into "get a known connected element"#1663

Merged
AutomatedTester merged 2 commits intomasterfrom
known_element
Jun 15, 2022
Merged

Merge "get a known element" into "get a known connected element"#1663
AutomatedTester merged 2 commits intomasterfrom
known_element

Conversation

@whimboo
Copy link
Copy Markdown
Contributor

@whimboo whimboo commented Jun 9, 2022

Fix for issue #1662. @shs96c please let me know what you think. Thanks.


Preview | Diff

@whimboo
Copy link
Copy Markdown
Contributor Author

whimboo commented Jun 9, 2022

Updates for the wdspec tests will be done via https://bugzilla.mozilla.org/show_bug.cgi?id=1772484.

Copy link
Copy Markdown
Member

@jgraham jgraham left a comment

Choose a reason for hiding this comment

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

I think this is a no-op change because previously get a known connected element was first calling get a known element and then pointlessly doing the connectedness checks again.

If there were cases where we wanted things to work without the connectedness check then we should propose a change so that is stale isn't called from get a known element, but we just check for the right node document.

@whimboo whimboo changed the title Merge get a known element into get a known connected element Merge "get a known element" into "get a known connected element" Jun 14, 2022
@whimboo
Copy link
Copy Markdown
Contributor Author

whimboo commented Jun 14, 2022

@shs96c if you could find a minute to rubberstamp this PR it would be appreciated. As @jgraham mentioned above it's basically a no-op clean-up change. Thanks.

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.

3 participants