Fix deprecated matches-css-after/matches-css-before

This commit is contained in:
Raymond Hill 2022-08-18 12:04:56 -04:00
parent 92e2b342d4
commit a24bc50e40
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 2 deletions

View File

@ -98,14 +98,14 @@ class PSelectorMatchesCSSTask extends PSelectorTask {
class PSelectorMatchesCSSAfterTask extends PSelectorMatchesCSSTask {
constructor(task) {
super(task);
this.pseudo = 'after';
this.pseudo = '::after';
}
}
class PSelectorMatchesCSSBeforeTask extends PSelectorMatchesCSSTask {
constructor(task) {
super(task);
this.pseudo = 'before';
this.pseudo = '::before';
}
}