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

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';
}
}