- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Sep 2023 16:19:58 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-text-4] move "balance | stable | pretty" out of text-wrap`. <details><summary>The full IRC log of that discussion</summary> <emeyer> florian: We discussed the shorthand and longhand relationship between white-space and text-wrap<br> <emeyer> …We only used placeholder names for the longhand properties<br> <emeyer> …One which is text-wrap-style, and another called text-wrap-mode<br> <emeyer> …These two are both longhands of text-wrap, but text-wrap-mode (not -style) is a longhand of white-space as well (and other things)<br> <emeyer> …We had discussed that mechanism last time, but text-wrap-mode is a placeholder<br> <emeyer> …It might be fine, but if we want to change it, that needs to be discussed<br> <emeyer> …So change it now, or hold your silence (wink)<br> <emeyer> astearns: Where are the text-wrap-mode haters?<br> <emeyer> fantasai: To be clear, all of the longhands here are not shipping, aso any of them could change<br> <emeyer> astearns: So you’re saying the bikeshedding is not that urgent?<br> <emeyer> fantasai: It is because in the previous discussion, we didn’t want balance, pretty, stable to all be longhands of white-space because they get reset every time you change whites-space<br> <lea> Ideas: text-wrap-allow: allow | avoid; text-wrap-policy: auto | never; text-wrap-mode is not terrible either<br> <emeyer> florian: The original placeholder was text-wrap-on and -off<br> <fantasai> s/text-wrap-on and -off/text-wrap-onoff<br> <emeyer> emilio: You would be able to say text-wrap: wrap and white-space: nowrap and whichever is latest would win?<br> <florian> s/text-wrap-on and -off/text-wrap-onoff/<br> <emeyer> …I mean, it’s fine, but it’s a bit yucky<br> <emeyer> fantasai: Yes, exactly<br> <emeyer> jensimmons: As an author, I like what’s being proposed because white-space is a weird world of “I don’t know what’s going on”<br> <lea> It would be nice to be able to be consistent with flexbox and have it be something-wrap: wrap | nowrap; but obviously we can't have text-wrap-wrap :P<br> <emeyer> …I think this is the right direction<br> <fantasai> lea, yes exactly :)<br> <emeyer> …A lot of authors could just ignore white-space entirely<br> <emeyer> florian: So did we pick the right name?<br> <emeyer> jensimmons: We could bikeshed “mode”<br> <emeyer> lea: I don’t think any is particularly great, but maybe they’ll inspire others<br> <emeyer> …I don’t think -mode is too bad, but we need to answer whether there’s ever a chance we’d want to expand the value set<br> <florian> q?<br> <florian> q+<br> <emeyer> …Is this always going to be either wrapping is on or off? Is it always going to be a switch?<br> <emeyer> …I think it will help guide the design if these are the only values that will ever be<br> <astearns> ack florian<br> <emeyer> florian: I think it’s extremely unlikely here<br> <emeyer> … -style might get more, sure, but -mode probably not<br> <emeyer> …So I think probably it will always be two values<br> <lea> more ideas: text-wrap-enabled<br> <emeyer> astearns: I’m not hearing significant enthusiasm for -mode, but nobody seems against it either<br> <lea> +1 to gsnedders , yes<br> <emeyer> (unknown) It does sound a little close to -style<br> <fantasai> s/(unknown) /jfkthame: /<br> <emeyer> astearns: Lea has suggested text-wrap-enable, which I like<br> <emeyer> plinss: -mode does sound like a binary switch, which we try to avoid<br> <fantasai> s/-mode/-enabled/<br> <emeyer> florian: We could have yes|no|auto<br> <emeyer> plinss: In general, our whitespace and breaking controls are a mess for historical reasons<br> <emeyer> …I’m wondering if this is leading us down the path to something better<br> <emeyer> florian: It’s trying to do that by extracting parts of the mess into buckets<br> <ntim> ChatGPT suggested text-wrap-mode!<br> <emeyer> plinss: The naming of all these controls is confusing for many people, but if we envisioned a world where we were doing this over, what would it look like, and are we working towards that?<br> <emeyer> florian: I suspect we are<br> <lea> we did decide against needing to start with the shorthand name as a general design principle, so it doesn't *actually* need to start with text-wrap-<br> <ntim> (my prompt was "What would be a good CSS property name for a property that controls text wrapping that has the values "wrap" and "nowrap"?")<br> <emeyer> emilio: I would have chosen text-wrap if we were starting from scratch, something like Jonathan suggested<br> <lea> (Not to mention it's a longhand of two shorthands here)<br> <emeyer> …Lacking that, -mode seems not terrible<br> <lea> white-space-wrap: wrap | nowrap 😃<br> <emeyer> astearns: I think we’ve spent enough time on this for today<br> <ntim> I asked for other names from ChatGPT: "text-flow", "text-wrapping", "text-wrap-behavior"<br> <emeyer> …I would suggest we keep -mode enabled for now, maybe add a note that it’s still under discussion<br> <lea> ntim:<br> <lea> ntim: Nice! We should record all these ideas in the issue...<br> <emeyer> fantasai: We do need to press people to implement and ship, and we need to undo some already-shipping connections<br> <emeyer> florian: I think we have made worse naming mistakes than this<br> <emeyer> fantasai: We should resolve next week if we don’t resolve today, we can’t let this drag on<br> <emeyer> astearns: Let’s take it back to the issue and leave the Agenda+ tag on<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9102#issuecomment-1737710556 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 September 2023 16:20:00 UTC