Skip to content
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

[CSSGapDecorations] Add pseudo-element alternative #995

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kbabbitt
Copy link
Member

No description provided.

@kbabbitt kbabbitt requested a review from alisonmaher March 25, 2025 17:43
@kbabbitt kbabbitt self-assigned this Mar 25, 2025
@kbabbitt
Copy link
Member Author

@alisonmaher @bfgeek I feel like there's another dimension of complexity with the pseudo-element approach that I'm not quite putting my finger on, could you ptal and leave a suggestion if you have one?

rows and columns depending on their contents. That means we don't know until
layout time how many such pseudo styles we need to produce, which creates a
wrong-way dependency between layout and style. It would also mean that, for
large containers, we would incur the costs of calculating styles for every

Choose a reason for hiding this comment

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

I think the other point here was that we would need objects for all the gaps (which I guess could be implied by the need to calculate styles for every gap)

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

Successfully merging this pull request may close these issues.

2 participants