Skip to content

[CSS Gap Decorations] logical properties please #1064

Open
@xaddict

Description

@xaddict

The article I just read (https://developer.chrome.com/blog/gap-decorations) talks about column-rule and row-rule.

I think we should instead take this opportunity to fix the past left-to-right top-to-bottom western thinking and use logical properties like block-rule and inline-rule so they automatically translate to other text flows and languages.

Unrelated: what do we do if the design needs more than just a line. Think about arrows, images or other embellishments. Does a property instead of a pseudo element make sense for that? Could a pseudo element ::block-rule / ::inline-rule instead work even better since it could auto-size to fill the gap in both axis and use margin or inset for example to make it bigger or smaller than that gap.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions