Come up with an alternative solution to adding the preview highlight to a token.
Categories
(DevTools :: Debugger, task, P3)
Tracking
(Not tracked)
People
(Reporter: janelledement, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Steps to reproduce:
When a token is broken up by a search result and the user hovers over any of those pieces, the preview highlight is added to all the elements involved. Do do this, we are relying on a while loop to search for related elements (to make sure they all get highlighted). These loops are rather complicated and could possibly be tricked.
The new solution should:
- Not rely on looping through elements
- Not rely on using
nodeType - Not use methods like
includeswhich can be tricked.
Here is a short screencast about this bug: https://www.loom.com/share/72d9dc7708a4457593215dbc36e41dee
| Reporter | ||
Comment 1•6 years ago
|
||
The screencast in the description was deleted by accident. Here is a screencast about this bug: https://www.loom.com/share/67a02691d67a40d38cb5f330c06a287a
| Reporter | ||
Comment 2•6 years ago
|
||
Alternative solution for adding preview highlight
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Comment 3•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:bomsy, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•4 months ago
|
Description
•