-
Notifications
You must be signed in to change notification settings - Fork 11
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
Some elements don't increase stack height #11
Comments
I experimented a bit and it turns out that any element with 'display: inline' is causing this issue. I am still trying to understand how the script works so I won't write a fix at least for now. |
This is great, lead me to some of the transforms spec which notes:
Which means the ultimate question becomes:
But short term, I'm wondering what mitigation strategies there are, doing something like |
According to this list of elements that are inline by default you can use this style
I think that if person specifically set something to be inline it should be kept inline, but for elements inline by default this should work |
Elements like
<a>
and<i>
tags don't appear to have any effect on stack height. This is troublesome because there could be others too. Understanding why this is happening would improve confidence in the rest of the DOM view being accurate.Note how the tags inside the paragraph here are styled lighter (indicating deeper nesting in the DOM) but do not increase depth.

The text was updated successfully, but these errors were encountered: