Re: [csswg-drafts] [css-logical] Add `block-start` and `block-end` to `caption-side` (#9623)

> That said, it's maybe a bit strange for `top` and `bottom` to be [flow-relative](https://drafts.csswg.org/css-writing-modes-4/#logical-directions), while `left` and `right` are [line-relative](https://drafts.csswg.org/css-writing-modes-4/#line-directions):

Thanks for pointing out that inconsistency!

> If compat allows it, it could make more sense to treat `top` and `bottom` as line-over and line-under, and then add `block-start` and `block-end` as flow-relative

I agree with that. Doing so, authors have the freedom to choose between flow- or line-relative alignment for their caption. (Though I have to say, I lack the knowledge of vertical and RTL languages and their requirements.)

> If the initial value is also changed to `block-start`, then this would only impact pages explicitly setting `caption-side: top` or `bottom` in a `writing-mode: vertical-lr` (or non-standard `horizontal-bt` in WebKit).

That needs to be checked for web compat. And _if_ pages exist, the question is whether that new initial value would actually be better in those cases.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9623#issuecomment-1826093927 using your GitHub account


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

Received on Friday, 24 November 2023 21:27:29 UTC