- From: Rossen Atanassov via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 May 2020 05:26:33 +0000
- To: public-houdini-archive@w3.org
atanassov has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-layout-api] String based inline layout API == There've been growing number of use cases requiring the ability to perform inline layout on strings that aren't necessary part of any DOM fragment. Consider any application with a complex model using the UA as a render surface through canvas 2d. Current capabilities of canvas a limiting users to fill/strokeText which is quite primitive compared to current richness of html/css - white space handling, font fallback, bidi re-ordering, justification etc. etc.... as well as the ability to have good braking logic and support for hyphenation etc. So, wouldn't it be great to expose the capabilities of layout (inline in particular) to such context? It seems like the current custom layout APIs are plenty capable of handling inline layout given a constraint space while letting the author decide where the completed fragments go. Can we do the same for _string_ input? Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/990 using your GitHub account
Received on Thursday, 14 May 2020 05:26:35 UTC