Skip to content

Commit

Permalink
Added sibling-count() and sibling-index()
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianZ committed Nov 6, 2023
1 parent 347e26e commit 27ea6ff
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/css-values-5.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ export default {
'random-item(--random-item; linear-gradient(red, yellow); linear-gradient(green, blue))',
],
},
'sibling-count()': {
links: {
dev: '#tree-counting',
},
tests: [
'calc(sibling-count() * 10px)',
],
},
'sibling-index()': {
links: {
dev: '#tree-counting',
},
tests: [
'calc(sibling-index() * 10px)',
],
},
'toggle() with lengths': {
links: {
dev: '#toggle-notation',
Expand Down

0 comments on commit 27ea6ff

Please sign in to comment.