mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
e683e915b8
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
20 lines
351 B
CSS
20 lines
351 B
CSS
@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;
|
|
}
|