Fix the pseudo-classes-known css test
The test needs to be updated for the renamed :dnd pseudo class. We also need to add a .errors file for the deprecation errors that we are now producing.
This commit is contained in:
parent
f3069d7e94
commit
ab182126df
@ -400,6 +400,7 @@ test_data = \
|
||||
property-name-errors.errors \
|
||||
property-name-errors.ref.css \
|
||||
pseudo-classes-known.css \
|
||||
pseudo-classes-known.errors \
|
||||
pseudo-classes-known.ref.css \
|
||||
pseudo-classes-unknown.css \
|
||||
pseudo-classes-unknown.errors \
|
||||
|
@ -62,6 +62,6 @@
|
||||
color: red;
|
||||
}
|
||||
|
||||
:dnd {
|
||||
:drop(active) {
|
||||
color: red;
|
||||
}
|
||||
|
4
testsuite/css/parser/pseudo-classes-known.errors
Normal file
4
testsuite/css/parser/pseudo-classes-known.errors
Normal file
@ -0,0 +1,4 @@
|
||||
pseudo-classes-known.css:5: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
|
||||
pseudo-classes-known.css:17: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
|
||||
pseudo-classes-known.css:25: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
|
||||
pseudo-classes-known.css:33: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
|
@ -62,6 +62,6 @@
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
|
||||
:dnd {
|
||||
:drop(active) {
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user