::selection

Jump to: navigation, search

::selection

This page has been flagged with the following issues:


Non-Standard

Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.


The ::selection pseudo-element is the UI element fragments pseudo-element. It is used to select any part of the page that the user has highlighted, including text within an editable text field. This pseudo-element supports the color and background-color properties.

It was proposed as part of CSS3 Selectors, but was removed due to concerns of undefined behaviors (e.g. for nested elements).

Needs Examples: This section should include examples.

Notes

 


Related specifications

Specification Status Related Changes
Selectors Level 3 Abandonned in 2009

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related articles

Pseudo-Elements






Selectors


















































… further results

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]