diff options
author | Benjamin Otte <otte@redhat.com> | 2014-10-02 02:23:34 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-10-03 06:18:04 +0200 |
commit | e683e915b80e70574a9e21de087522a6c1e45f24 (patch) | |
tree | bdfde034ee1714e8ae2bb9318bd4144bab6508b2 /testsuite/reftests/label-text-shadow-changes-modify-clip.css | |
parent | f7ee61c8331465d418fc4914555d04401497236d (diff) | |
download | gtk+-e683e915b80e70574a9e21de087522a6c1e45f24.tar.gz |
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
Diffstat (limited to 'testsuite/reftests/label-text-shadow-changes-modify-clip.css')
-rw-r--r-- | testsuite/reftests/label-text-shadow-changes-modify-clip.css | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/reftests/label-text-shadow-changes-modify-clip.css b/testsuite/reftests/label-text-shadow-changes-modify-clip.css new file mode 100644 index 0000000000..87bd265191 --- /dev/null +++ b/testsuite/reftests/label-text-shadow-changes-modify-clip.css @@ -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; +} |