css: Queue resize for properties that affect clip

This fixes shadows that are animated not updating the clip of the widget
they are drawn on. An example of this are the buttons in the CSS shadows
example in gtk-demo.

Reftest included
This commit is contained in:
Benjamin Otte
2014-10-02 02:23:34 +02:00
parent f7ee61c833
commit e683e915b8
6 changed files with 168 additions and 1 deletions

View File

@ -0,0 +1,19 @@
@import "reset-to-defaults.css";
@keyframes foo {
0% { text-shadow: 20px 20px tomato; }
100% { text-shadow: 20px 20px tomato; }
}
GtkLabel {
font-size: 40px;
animation-name: foo;
animation-duration: 100s;
animation-timing-function: linear;
animation-delay: 1ms;
}
#reference {
animation: initial;
text-shadow: 20px 20px tomato;
}