GNOME Bugzilla – Bug 655009
Clamp border radius following CSS specs
Last modified: 2011-07-21 01:06:55 UTC
Created attachment 192338 [details] [review] patch As seen http://www.w3.org/TR/css3-background/#corner-overlap corners should scale when they could overlap.
commit db6661822783f4c9259cc516474b4068380a33c2 Author: Benjamin Otte <otte@redhat.com> Date: Wed Jul 20 23:41:21 2011 +0200 reftests: Add test for border radius clamping commit b3f03d092fd71ba6f31a0dda20f1b00fa0d99eb3 Author: Andrea Cimitan <andrea.cimitan@canonical.com> Date: Wed Jul 20 23:37:26 2011 +0200 roundedbox: Clamp border radius to box size Note that clamping in rounded_box_grow() is not necessary as that function cannot lead to overlap unless the rounded box was overlapping previously. https://bugzilla.gnome.org/show_bug.cgi?id=655009