Skip to content

Commit

Permalink
Merge pull request #260 from cssdream/anchor-size-inset-and-margin
Browse files Browse the repository at this point in the history
[css-anchor-position] Allow anchor-size() for insets and margins
  • Loading branch information
SebastianZ authored Nov 13, 2024
2 parents 367574a + 4bf2385 commit 812df0f
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion tests/css-anchor-position-1.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ export default {
'right',
'bottom',
'left',
'inset',
'inset-block-start',
'inset-block-end',
'inset-inline-start',
'inset-inline-end',
'inset-block',
'inset-inline',
'inset',
],
tests: [
'anchor(inside)',
Expand Down Expand Up @@ -90,6 +90,27 @@ export default {
'max-inline-size',
'min-block-size',
'max-block-size',

// inset
'top',
'right',
'bottom',
'left',
'inset',
'inset-block-start',
'inset-block-end',
'inset-inline-start',
'inset-inline-end',
'inset-block',
'inset-inline',

// margin
'margin-block',
'margin-block-start',
'margin-block-end',
'margin-inline',
'margin-inline-start',
'margin-inline-end',
],
tests: [
'anchor-size(width)',
Expand Down

0 comments on commit 812df0f

Please sign in to comment.