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

[css-grid] Clarify resolved value of track listing is only special for grid containers #4063

Closed
Loirooriol opened this issue Jun 27, 2019 · 0 comments

Comments

@Loirooriol
Copy link
Contributor

From https://drafts.csswg.org/css-grid/#resolved-track-list,

When an element’s display is grid or inline-grid and it generates a box, the resolved value of the grid-template-rows and grid-template-columns properties is the used value

But the condition doesn't specify whether it's talking about the computed or the used value of display. This matters because a computed value of display: grid may not produce a grid container, e.g. for replaced elements like <svg>, or for magical elements like <details>.

So I think it should be made explicit that it's the used value of display, or just say

When an element generates a grid container box, ...

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

No branches or pull requests

2 participants