-
Notifications
You must be signed in to change notification settings - Fork 154
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
HtmlPruner::removeInvisibleNodes could/should be better named? #717
Comments
A secondary question on the |
I'm leaning towards |
Sounds good. Let's use this name. |
… to `HtmlPruner::removeElementsWithDisplayNone`. Resolves #717.
… to `removeElementsWithDisplayNone`. Resolves #717.
… to `removeElementsWithDisplayNone`. Resolves #717.
… to `removeElementsWithDisplayNone`. Resolves #717.
I propose
removeInvisibleElements
.An element is a specific type of node. In documenation on MDN, W3C specifications and JavaScript, nodes which are elements are always referred to as elements.
The nodes removed by the method are necessarily elements. Therefore I think this method should be renamed before 3.0 is released and we are stuck with the name. @oliverklee, @zoliszabo, would you agree?
The text was updated successfully, but these errors were encountered: