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-anchor] Anchor sizes and box sizing #7938

Closed
Crissov opened this issue Oct 21, 2022 · 1 comment
Closed

[css-anchor] Anchor sizes and box sizing #7938

Crissov opened this issue Oct 21, 2022 · 1 comment
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. css-anchor-position-1

Comments

@Crissov
Copy link
Contributor

Crissov commented Oct 21, 2022

<anchor-size> = width | height | block | inline | self-block | self-inline

Do these dimensions respect the value of the box-sizing property or do they always use the border box of the target anchor element?

@tabatkins
Copy link
Member

tabatkins commented Oct 21, 2022

Edit: Nope, not underspecifed, it's always the border box.

An anchor-size() function representing a valid anchor query resolves to the separating the relevant border edges (either left and right, or top and bottom, whichever is in the specified axis) of the target anchor element.

@tabatkins tabatkins added Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. css-anchor-position-1 labels Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed as Question Answered Used when the issue is more of a question than a problem, and it's been answered. css-anchor-position-1
Projects
None yet
Development

No branches or pull requests

2 participants