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

Move hasContent method from DocumentElement class to TraversableElement. #768

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kukko
Copy link

@kukko kukko commented Oct 26, 2018

It's useful to find content in DOM elements, not just in the whole document.

It is useful to be able to check a DOM element, not just the whole document how it is containing a content or not.
@aik099
Copy link
Member

aik099 commented Oct 26, 2018

What about tests? I guess now we also need to check, that hasContent method of all descendants from TraversableElement class works, the NodeElement maybe.

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

2 participants