gtk_style_context_to_string() doesn't print properties from keyframes
While this function is deprecated, it's still used in tests.
It involves calling gtk_css_style_print()
with skip_initial
set to TRUE
which tries to skip initial values by checking what properties have sections. If a property hasn't been set, it won't have one.
However, a property that comes from keyframes won't have a section either, and so won't be printed, unless the same property has been changed outside the animation too:
@keyframes test {
from { padding-left: 10px; }
to { padding-left: 20px; }
}
.doesnt-work {
animation: test 10s infinite linear;
}
.works {
padding-left: 0;
animation: test 10s infinite linear;
}