We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I think I found issue with style inheritance of elements.
I have the similar html structure to the following:
<ul> <li> <a style="font-size: 15px"> <span class="a"></span> </a> </li> <li> <a> <span></span> </a> </li> </ul>
When trying to get the style of a including inherit, I don't receive the font-size.
I think the issue is with levelTraversal in org.w3c.dom.traversal.TreeWalker.Traversal:
When going over the children of a node the current node won't update until you do over the deepest node in the branch.
This becomes a problem when using: main.inheritFrom(result.get((Element) walker.parentNode(), null)); (Analyzer, line 155)
main.inheritFrom(result.get((Element) walker.parentNode(), null));
(Element) walker.parentNode() return the ul element So the element styling is incorrect.
Hope you understood me and thank you
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I think I found issue with style inheritance of elements.
I have the similar html structure to the following:
When trying to get the style of a including inherit, I don't receive the font-size.
I think the issue is with levelTraversal in org.w3c.dom.traversal.TreeWalker.Traversal:
When going over the children of a node the current node won't update until you do over the deepest node in the branch.
This becomes a problem when using:
main.inheritFrom(result.get((Element) walker.parentNode(), null));
(Analyzer, line 155)
(Element) walker.parentNode() return the ul element
So the element styling is incorrect.
Hope you understood me and thank you
The text was updated successfully, but these errors were encountered: