- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Tue, 22 Nov 2016 08:19:12 +0000
- To: public-css-archive@w3.org
This sits at the uncomfortable intersection of useful and freaking hard to implement. The existing ::first-line and ::first-letter already cause lots of headaches, and implementers are not looking forward to more of that complexity. That said, the kind of things you want to do with ::nth-line might end up being addressable with: ``` thing { max-lines: 1; continue: fragments; } thing::nth-fragment() { } ``` This is and early / unstable draft, but have a look here for more details: https://drafts.csswg.org/css-overflow-4/#fragmentation https://drafts.csswg.org/css-overflow-4/#fragment-pseudo-element As for ::nth-letter, I am not aware of any substitute, but neither am I aware of strong use cases. If you want this explicitly (instead of just for completeness sake), could you give some examples of where you'd use it and why existing CSS isn't good enough? There's one in the blog you linked to, but do you have more? -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/745#issuecomment-262175525 using your GitHub account
Received on Tuesday, 22 November 2016 08:19:18 UTC