• Benjamin Otte's avatar
    cssvalue: At cycle detection to color resolving · cbee3901
    Benjamin Otte authored
    The following CSS would infloop:
    
    @define-color self @self
    
    as it would infinitely lookup the color named "self" and try to resolve
    it. This patch adds detection of such cycles to the resolve function by
    keeping a list of currently resolving colors in the cycle_list variable.
    cbee3901
gtkcsscolorvalueprivate.h 2.84 KB