[csswg-drafts] [css-inline-3] baseline-source:first and overflow:hidden inline-boxes. (#8214)

bfgeek has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline-3] baseline-source:first and overflow:hidden inline-boxes. ==
https://drafts.csswg.org/css-inline-3/#baseline-source

The definition of this property doesn't mention the `overflow:hidden` behaviour explicitly - that is we'll force baselines on scrollers (`overflow:hidden` and friends) to the block-end margin edge by default.

For the non-auto cases (`baseline-source:first` and `baseline-source:last`) we can likely allow people to have the same behaviour as baselines within scrollers for flex/grid, that is clamp the baselines to the border-box rect if present.

For example:

```html
baseline <div style="display: inline-block; overflow: hidden;">I am aligned</div>
```

Ian

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8214 using your GitHub account


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

Received on Friday, 9 December 2022 21:58:12 UTC