-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
hint-mode
Shadow DOM elements support
#3295
Comments
hint-mode
Shadow DOM supporthint-mode
Shadow DOM elements support
Hello @aadcg ! I've been working on this issue these past days and I think there's no need for a major rewrite. The main problem which was causing the performance issue was the use of the macro Anyway, I have resorted to updating the However there's one issue that I would like to discuss with you, and which I think would affect other websites. So basically when the document model is updated through (I'm getting 2 breakpoints in the video because I was setting a sticker inside the add-hints function) |
@heiwiper thanks for the update. I'm not sure if I fully understood the issue you're raising about See See |
I have followed your advice about creating an example of the issue and after some debugging I found out that the issue had nothing to do with Now I have reverted to walking through all DOM elements using Tree Walker which apparently has good performance compared to the other javascript methods. I have created a draft PR to fix this issue, please let me know when you take a look into it. |
@heiwiper thanks for the update. I'll look at it in a week. |
As mentioned in #3269 (comment),
hint-mode
's support for Shadow DOM may need to be re-designed from scratch.Related to #3254.
Performance benchmarks are needed as to ensure that the addition of this feature won't impact performance. E.g., mock an HTML document with thousands of links and return the time it takes for the renderer to draw the hints.
The text was updated successfully, but these errors were encountered: