-
Notifications
You must be signed in to change notification settings - Fork 715
[css-logical] Add block-start
and block-end
to caption-side
#9623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If they don't bring any new functionality, I'm not convinced this is worth it. That said, it's maybe a bit strange for
If compat allows it, it could make more sense to treat
If the initial value is also changed to |
For reference, this was discussed in https://lists.w3.org/Archives/Public/www-style/2015Sep/0113.html and https://lists.w3.org/Archives/Public/www-style/2015Sep/0158.html |
Thanks for pointing out that inconsistency!
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.)
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 |
On the other hand, given that nobody seems to implement |
Removing them is also an option if they are really not implemented anywhere anymore/it is web compatible and there are no strong use cases for adding them back. Sebastian |
Not sure that removing
I suggested this feature for Interop 2024, therefore browsers may add support for this feature and improve web compatibility. As for use cases, I see a lot of use cases for this feature. For example, caption position may add more possibilities to CSS frameworks like Charts.css which relies on HTML tables. |
In addition, the current spec mentions that:
But when working with |
https://drafts.csswg.org/css-writing-modes-4/#writing-mode
|
Adding I don't think they should be aliased to |
Why wouldn't it make sense to define top/bottom as line-over/line-under if left/right are defined as line-left/line-right? |
The usage of |
CSS Logical says
regarding the
caption-side
keywords.For consistency - also because the spec. defines
inline-start
andinline-end
- we should define the keywordsblock-start
andblock-end
explicitly and let the physical values map to them.@ramiy already created a PR to add them.
Sebastian
The text was updated successfully, but these errors were encountered: