W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-pseudo] ::first-letter should include currency (#5099)

From: Mac Lockard via GitHub <sysbot+gh@w3.org>
Date: Mon, 14 Sep 2020 16:26:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-692167929-1600100787-sysbot+gh@w3.org>
The only example I have is a bit self serving, but I ran into this when trying to style specially formatted variables in code with a leading `$` to have different styles for the `$` then the rest of the variable. I couldn't added additional markup, so using the `::first-letter` selector worked in some browsers, but not all.

I also think the example of a sentence with a mention of currency "$100 was the amount needed to..." would be awkward if this was formatted differently than all other sentences in a paragraph

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 14 September 2020 16:26:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC