- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Tue, 28 Jan 2025 04:37:58 +0000
- To: public-css-archive@w3.org
@jensimmons were looking at some examples and realized that, actually, we do need `block-step-size` to inherit. Otherwise it's not possible to use a step size that's based on the font-size or line-height of an ancestor. For example, suppose we have an `<article>`. We want headings inside it to use a step-size of `1lh` _of the article's line-height, not the heading's_. To make this work reasonably, we'll need the `1lh` to compute on the `<article>` (and therefore inherit down as an absolute size). So the way this works would be: - `block-step-size: <length>` inherits, but has no effect - `block-step-align: none | auto | start | center | end` causes `block-step-size` to have an effect on the element to which it's applies. Re-opening for discussion. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1902#issuecomment-2617828020 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 28 January 2025 04:37:59 UTC