After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655009 - Clamp border radius following CSS specs
Clamp border radius following CSS specs
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-07-20 21:09 UTC by Andrea Cimitan
Modified: 2011-07-21 01:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (3.25 KB, patch)
2011-07-20 21:09 UTC, Andrea Cimitan
none Details | Review

Description Andrea Cimitan 2011-07-20 21:09:37 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.
Comment 1 Benjamin Otte (Company) 2011-07-21 01:06:55 UTC
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