W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css-inline] vertically align to nth-child (#1339)

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Tue, 28 Jul 2020 22:30:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-665327071-1595975410-sysbot+gh@w3.org>
The CSS Working Group just discussed `[css-inline] vertically align to nth-child`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-inline] vertically align to nth-child<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/1339<br>
&lt;dael> fantasai: Some discussion of being able to align not just to first or last line but of a particular child of element<br>
&lt;dael> fantasai: Some people working on mathML polyfills wanting this. Also cases where might want vertical alignment in respect to header but stuff above you ignore<br>
&lt;dael> fantasai: Feature to say hey this element is what you should pay attention to for baseline<br>
&lt;fantasai> https://github.com/w3c/csswg-drafts/issues/1339#issuecomment-494988680<br>
&lt;fantasai> e.g. baseline-priority: high | normal<br>
&lt;dael> fantasai: Question is does WG want to add such a feature like baseline-priority:high and if it's high that get priority<br>
&lt;dael> AmeliaBR: Useful for various layout cases where default baseline alignment isn't what you want.<br>
&lt;dbaron> what if you want a child to override the first baseline but not the last lbaseline?<br>
&lt;dael> AmeliaBR: Agree with TabAtkins that way to do it that the child declares it rather than figure out how to have parent refer to which child<br>
&lt;dael> Rossen_: Multiplicity?<br>
&lt;dael> AmeliaBR: First child that says baseline priority if first and last child with last<br>
&lt;dael> Rossen_: Intent of feature is select a specific<br>
&lt;dael> AmeliaBR: You select by setting property on child element<br>
&lt;dael> fantasai: Yes, makes sense<br>
&lt;dael> TabAtkins: You don't declare on everything, you put it on the one thing you want the baseline to come from and that's what you get<br>
&lt;dael> dbaron: What if author wants something high priority for first but not last?<br>
&lt;dael> fantasai: Interesting. Should let them do it. Maybe set sep for first and last baseline<br>
&lt;Rossen_> q?<br>
&lt;dael> AmeliaBR: Or what if you want to align with last line of heading? I don't know.<br>
&lt;faceless2> See also https://github.com/w3c/csswg-drafts/issues/4116, which is the same sort of issues except images exporting baselines.<br>
&lt;dael> AmeliaBR: Prob need to think through full proposal<br>
&lt;dael> fantasai: What I'm hearing is interest in doing this. PRoposal should deal with cases for diff elements setting first and last baseline and cases where first baseline isn't nec the first baseline selected<br>
&lt;dael> Rossen_: At least to start with. More cases will come as we work. I agree there's interest from group<br>
&lt;dael> Rossen_: Who will work? fantasai?<br>
&lt;dael> fantasai: I guess. I would appreciate people with comments and ideas<br>
&lt;dael> Rossen_: General support in going forward with such feature. Sounds like a natural extension to baselines and using more granular capabilities. Please help fantasai with use cases and ideas<br>
&lt;dael> Rossen_: Sound good?<br>
&lt;dael> fantasai: Yep<br>
&lt;dael> dauwhe: Is Brian on?<br>
&lt;dael> Rossen_: I don't see on meeting<br>
&lt;dael> dauwhe: Might be interested b/c MathML work<br>
&lt;dael> Rossen_: Definitely. Anyone interested should help fantasai<br>

GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1339#issuecomment-665327071 using your GitHub account
Received on Tuesday, 28 July 2020 22:30:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:12 UTC