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
There is a test which deals with a live range that starts and ends in light DOM, but has a shadow DOM part inside.
The test asserts that highlightsFromPoint() does not return anything when being called over the shadow DOM part.
highlightsFromPoint()
However, the spec says that highlightsFromPoint() should return a Highlight if any of the DOMRects returned by getClientRects() of any range of the highlight intersects the point.
getClientRects()
Both Gecko and Chrome also return DOMRects for the shadow DOM part, therefore the implementation would include the shadow DOM parts as well.
cc @ffiori @emilio @smaug----
The text was updated successfully, but these errors were encountered:
ffiori
No branches or pull requests
There is a test which deals with a live range that starts and ends in light DOM, but has a shadow DOM part inside.
The test asserts that
highlightsFromPoint()
does not return anything when being called over the shadow DOM part.However, the spec says that
highlightsFromPoint()
should return a Highlight if any of the DOMRects returned bygetClientRects()
of any range of the highlight intersects the point.Both Gecko and Chrome also return DOMRects for the shadow DOM part, therefore the implementation would include the shadow DOM parts as well.
cc @ffiori @emilio @smaug----
The text was updated successfully, but these errors were encountered: