- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Mar 2021 16:52:49 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-pseudo] Problems with styling ::first-letter with punctuation`, and agreed to the following: * `RESOLVED: Add sub-pseudo elements. Bikeshed name` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: [css-pseudo] Problems with styling ::first-letter with punctuation<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/2040<br> <dael> fantasai: Basically a requirement that punct associated with first-letter is styled independant of the letter. Sometiems punct is in font of paragraph, sometimes inbetween. Sometimes not colored when letter is<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/2040#issuecomment-669614648<br> <dael> fantasai: Need pseudo elements to select first letter different from punch<br> <dael> fantasai: ameliabr posted ^ which is adding pseudo element which attaches to first-letter pseudo and attaches to only letter and only punct so you can style sep<br> <dael> fantasai: Other comment is ::marker has similar structure with counter, prefix, postfix. Might want to use same system and maybe same names<br> <dael> fantasai: Not going to get through bikesheding, but want to ask WG if this is how they want to go about it<br> <dael> astearns: Not sure about paralel between this and marker. Seem different kinds. But I do like idea of tacking on another pseudo element to first-letter<br> <dael> fantasai: Do we like idea of one name for punct on both sides with before/after params or separate pseudo?<br> <dael> florian: Common to style before and after same?<br> <dael> fantasai: Don't know<br> <dael> florian: I think that's the answer. If it's common it's useful to style both<br> <dael> astearns: Less common to have following punct. I would guess when you have both style same<br> <dael> florian: In French it's not rare. "I' is plausable. I don't know style, though. If want to style ' same as letter you may want before punct different<br> <dael> fantasai: I can see cases where you want different. Things like em dash you want aligned to center of letter but smaller size. But might not want the veritical align on the apostophy<br> <fantasai> s/I'/J'/<br> <dael> astearns: Agree with examples. I'm wrong about not having cases<br> <florian> example: “J'aime…<br> <dael> astearns: Other thoughts?<br> <dael> astearns: Could resolve to have a pseduo element with way to pick apart pieces<br> <dael> fantasai: pseudo-sub-eleemnt. And we can bikeshed later<br> <dael> florian: If a shortname falls out we can have it, but we shouldn't explictly try to have one<br> <fantasai> ::prefix / ::postfix<br> <dael> astearns: Shouldn't make the same syntax for marker<br> <dael> fantasai: prefix and postfix perhaps<br> <dael> astearns: YOu'd like resolution?<br> <dael> astearns: Objections?<br> <dael> fantasai: As sub-pseudo elements. Bikeshed name<br> <fantasai> s/As/Add/<br> <dael> RESOLVED: Add sub-pseudo elements. Bikeshed name<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2040#issuecomment-805991093 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 March 2021 16:52:52 UTC