- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Sat, 11 Mar 2023 10:01:47 +0000
- To: public-css-archive@w3.org
> There was an earlier proposal for a property called text-replace, see https://www.w3.org/TR/2007/WD-css3-gcpm-20070504/#character You can search for [discussion about it on www-style](https://www.w3.org/Search/Mail/Public/search?type-index=www-style&index-type=t&keywords=text-replace&search=Search). IIRC there were a bunch of problems with it... The problems with the older proposal for `text-replace` seem focussed on the syntax and that is was replacing text, not glyphs. Minutes from the link above : https://lists.w3.org/Archives/Public/www-style/2008Sep/0074.html -------- Glyph substitution is a different feature than text replacement. Text replacement can be done by changing the text or with JavaScript. Adding it to CSS would add one more way to do that but that is not what I am proposing here. Glyph substitution is only possible in font files at this moment. Adding it to CSS would make the feature more accessible to more developers. I've created a small demo to illustrate text/character transforms vs. glyph substitutions. file:///Users/romainmenke/projects/glyph-substitution-demo/docs/text-transform-vs-glyp-substitution/index.html _in this example I am using a simple `ligature` substitution_ -- GitHub Notification of comment by romainmenke Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8545#issuecomment-1464875945 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 11 March 2023 10:01:49 UTC