W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

Re: [csswg-drafts] [css-pseudo] Selecting first letter skipping punctuation

From: Johannes odland via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Dec 2017 07:48:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-349223285-1512460135-sysbot+gh@w3.org>
It is possible to omit the punctuation in some cases.
A coherent solution would be to hide the punctuation using css. 

Say that you create a stylesheet for feature articles. You want to control both how the drop-cap looks and how to handle the punctuation.  Leaving it up to writers/authors/journalist to remove the punctuation if there happens to be a drop cap is a fragile solution. If you decide to change the stylesheet later on you would have to go back and edit the content as well.

If you choose to hide or hang your punctuation, it should be possible to do so using css. 



-- 
GitHub Notification of comment by johannesodland
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2040#issuecomment-349223285 using your GitHub account
Received on Tuesday, 5 December 2017 07:48:58 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:44 UTC