Changes between Version 2 and Version 3 of Ticket #6296, comment 3


Ignore:
Timestamp:
01/22/2018 05:57:32 PM (20 months ago)
Author:
Lain_13
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6296, comment 3

    v2 v3  
    1414}}} 
    1515 
    16 That won't work with `+` and `~`, though. They are addressing elements outside of the current scope. So, generating selector for the current node might be a necessity. 
     16That won't work with `+` and `~`, though. They are addressing elements outside of the current scope. So, generating selector for the current node might be a necessity. Actually, even `node.querySelector()` won't work in such case since it's scoped to the `node`. You'll have to call it at least from a parent node or stright from a `document` (depending on how you construct an unique selector for the current node).