css: Queue resize for properties that affect clip

Desktop / GNOME / GTK - Benjamin Otte [redhat.com] - 2 October 2014 23:18 UTC

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

e683e91 css: Queue resize for properties that affect clip
gtk/gtkcssstylepropertyimpl.c | 2 +-
testsuite/reftests/Makefile.am | 4 +
.../label-text-shadow-changes-modify-clip.c | 90 ++++++++++++++++++++
.../label-text-shadow-changes-modify-clip.css | 19 +++++
.../label-text-shadow-changes-modify-clip.ref.ui | 21 +++++
.../label-text-shadow-changes-modify-clip.ui | 33 +++++++
6 files changed, 168 insertions(+), 1 deletion(-)

Upstream: git.gnome.org


  • Share