Skip to content

Conversation

@ramiy
Copy link

@ramiy ramiy commented Nov 22, 2023

While documenting the caption-side property on MDN we noticed that the flow-relative block-start and block-end values are not defined by any spec, although they are mentioned in the spec.

The block-start and block-end values are mentioned but not really defined in the spec.

Copy link
Contributor

@SebastianZ SebastianZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logical Properties 1 says this:

The existing top and bottom values are idiosyncratically redefined as assigning to the block-start and block-end sides of the table, respectively.

So those actually are flow-relative, even when they refer to physical sides.

Though I think it makes sense to add them as aliases to the existing top and bottom keywords. Therefore, I have created #9623 to discuss their addition.

Sebastian

Copy link
Contributor

@Loirooriol Loirooriol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be discussed in #9623

But anyways, if we end up adding block-star and block-end, it doesn't make sense to condition them on supporting left and right.

@ramiy
Copy link
Author

ramiy commented Jul 26, 2025

Cascading Style Sheets (CSS) Level 2 - defines only top | bottom | inherit

image

CSS Logical Properties and Values Level 1 - defines only inline-start | inline-end

image

No spec defines block-start and block-end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants