Re: [csswg-drafts] [css-rhythm-1] Inherit block-step-size (#1902)

The CSS Working Group just discussed `[css-rhythm-1] Inherit block-step-size`, and agreed to the following:

* `RESOLVED: block-step-size inherits, and does not activate step sizing`
* `RESOLVED: add a new "none" initial value to block-step-align; all other values turn on step sizing`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> jensimmons:  we talked about this not long ago.<br>
&lt;TabAtkins> jensimmons: we were debating if there should be one mechanism to set the *size* fo the block step, and another to actually applyl it or not<br>
&lt;TabAtkins> jensimmons: previously we decided to keep it simple and together, like line-height and margin you just say the one value and it gives the size and turns on the feature<br>
&lt;TabAtkins> jensimmons: but thinking thru how b-s-s works, we realized that often an author will want to set b-s-s to 1lh<br>
&lt;TabAtkins> jensimmons: if they set 1lh  on the article, then what 1lh means is gonna be different on each element<br>
&lt;TabAtkins> jensimmons: if you ahve a headline with one font size and one line height, it'll be based on the headline lh size; same on a paragraph is based on the paragraph lh<br>
&lt;TabAtkins> jensimmons: so you actually get different sizes<br>
&lt;TabAtkins> jensimmons: because the size isn't set in one spot and inherits, it's set explicitly on each element<br>
&lt;TabAtkins> jensimmons: so it sounds like we do need block-step-size to inherit so it can pick up one measurement, then turn it on/off with a different property<br>
&lt;TabAtkins> +1 from me<br>
&lt;TabAtkins> astearns: so the proposal is block-step-align?<br>
&lt;TabAtkins> jensimmons: yeah, elika described it as block-step-size inherits and sets the length, but has no other effect. then block-step-align doesn't inherit, and turns alignment on/off.<br>
&lt;TabAtkins> jensimmons: before b-s-align was like the alignment properties, where to put the content within the block-step range<br>
&lt;TabAtkins> jensimmons: so idea here is that we'd add "none" to block-step-align as its initial value, and they'd change it from none to auto/etc to actually trigger<br>
&lt;florian> makes sense to me<br>
&lt;TabAtkins> astearns: do we really want th einitial value to be none?<br>
&lt;TabAtkins> astearns: could it be 'auto' and if you dont' want it to ahve an effect, you change it to none?<br>
&lt;TabAtkins> fantasai: you don't want block-step to be on every descendant in a tree<br>
&lt;TabAtkins> fantasai: you want it on specific element<br>
&lt;fantasai> TabAtkins: Agree. You want it on particular containers, not necessarily their children.<br>
&lt;TabAtkins> jensimmons: you might set it on an article, and apply to all the children, but not further down the tree<br>
&lt;TabAtkins> jensimmons: otherwise it's weird. you want it on the figure, but not necessarily the figcaption<br>
&lt;TabAtkins> astearns: okay. any other questions or concerns?<br>
&lt;TabAtkins> astearns: so first resolution is block-step-size inherits and does not activate step sizing<br>
&lt;TabAtkins> astearns: objections?<br>
&lt;TabAtkins> +1<br>
&lt;TabAtkins> RESOLVED: block-step-size inherits, and does not activate step sizing<br>
&lt;TabAtkins> astearns: second resolution is to add a new "none" initial value to block-step-align; all other values turn on step sizing<br>
&lt;TabAtkins> RESOLVED: add a new "none" initial value to block-step-align; all other values turn on step sizing<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1902#issuecomment-2669268540 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 19 February 2025 17:13:50 UTC