Re: [csswg-drafts] [css-content] Provide a way to generate copyable content (#8046)

See https://w3c.github.io/csswg-drafts/css-ui/#propdef-user-select

> The UA may apply this property to the [::before](https://w3c.github.io/csswg-drafts/css-pseudo-4/#selectordef-before) and [::after](https://w3c.github.io/csswg-drafts/css-pseudo-4/#selectordef-after) pseudo-elements. If it does, the [auto](https://w3c.github.io/csswg-drafts/css-ui/#valdef-user-select-auto) value maps to a [used value](https://w3c.github.io/csswg-drafts/css-cascade-5/#used-value) of [none](https://w3c.github.io/csswg-drafts/css-ui/#valdef-user-select-none) on these pseudos, but other values can be specified. This preserves the legacy behavior of generated content not being selectable or copyable, which is appropriate when these pseudos are used for decorative purposes. However, this property allows them to become selectable and copyable, as the user would expect in cases where they are used to generate parts of the content, such as the issue numbers in this document.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8046#issuecomment-1308026062 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 November 2022 00:30:02 UTC