W3C home > Mailing lists > Public > www-style@w3.org > December 2014

Add selector for the source of contextual menu

From: Célian Veyssière <contact@celian.eu>
Date: Mon, 08 Dec 2014 23:25:02 +0000
Message-ID: <54863334.8010508@celian.eu> (sfid-20141208_232509_313023_C8851252)
To: www-style@w3.org
I note it is possible that an element generates a context menu with its 
own menu and an id in HTML5 (with attribut contextmenu && <menu 
type="popup">). Except that, it is not possible with this menu 
contextual to highlighting the element generating it, like this : 
http://ikilote.net/Vieux_Sites/Site_Ikilote/V4.2/Collection_Menucontext_1.png

It is possible to add a selector for that ? Like this example :

div:hover,
div:source-context {
     background-color:red;
}

Best regards.
Received on Wednesday, 17 December 2014 12:49:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:49 UTC