Bug 164534 - Add a way to trigger pseudo-class in web extension
Summary: Add a way to trigger pseudo-class in web extension
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 16:38 PST by antoyo
Modified: 2016-11-08 16:38 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description antoyo 2016-11-08 16:38:52 PST
Hello.
It would be nice to be able to trigger pseudo-class like `:hover` from an extension like we can do in Firefox with [`addPseudoClassLock()`](https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/inIDOMUtils#addPseudoClassLock()).
An alternative could be to allow triggering untrusted event (like `hover`) from the web extension.
Thanks to add such a function.