Skip to content

Commit

Permalink
Merge pull request #262 from cssdream/update-css-pseudo-4
Browse files Browse the repository at this point in the history
Add ::search-text, ::details-content, ::before::marker and ::after::marker
  • Loading branch information
SebastianZ authored Nov 15, 2024
2 parents 812df0f + fe224a7 commit b6b7ec8
Showing 1 changed file with 26 additions and 8 deletions.
34 changes: 26 additions & 8 deletions tests/css-pseudo-4.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ export default {
},
tests: ['::selection'],
},
'::search-text': {
links: {
dev: '#selectordef-search-text',
},
tests: ['::search-text'],
},
'::target-text': {
links: {
tr: '#selectordef-target-text',
Expand All @@ -50,19 +56,17 @@ export default {
},
tests: ['::grammar-error'],
},
'::file-selector-button': {
links: {
tr: '#marker-pseudo',
dev: '#marker-pseudo',
},
tests: ['::file-selector-button'],
},
'::marker': {
links: {
tr: '#marker-pseudo',
dev: '#marker-pseudo',
},
tests: ['::marker'],
tests: [
'::marker',
// Made ::before::marker and ::after::marker valid: https://github.com/w3c/csswg-drafts/issues/1793
'::before::marker',
'::after::marker',
],
},
'::placeholder': {
links: {
Expand All @@ -71,6 +75,20 @@ export default {
},
tests: ['::placeholder'],
},
// Element-backed Pseudo-Elements
'::file-selector-button': {
links: {
tr: '#file-selector-button-pseudo',
dev: '#file-selector-button-pseudo',
},
tests: ['::file-selector-button'],
},
'::details-content': {
links: {
dev: '#details-content-pseudo',
},
tests: ['::details-content'],
}
},
interfaces: {
Element: {
Expand Down

0 comments on commit b6b7ec8

Please sign in to comment.