Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upoffsetParent never returns an inline element. #15102
Open
Comments
|
I suggest to treat inline-level element and block-level element separately like how we do it in the layout system. That is, when query an element you should first determine whether it is an inline-level or block-level element, and use different logic for the two situations. Not sure this will actually work, but it should have some value. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can't be properly addressed until #13982 is fixed, because without reliable information about where an inline element starts and ends, the query code can't identify descendants of that element.