summaryrefslogtreecommitdiff
path: root/gtk/gtkcssimageradial.c
Commit message (Collapse)AuthorAgeFilesLines
* css: Add gtk_css_number_value_can_parse()Benjamin Otte2016-02-131-3/+3
| | | | | | Use it instead of _gtk_css_parser_has_number(). We need that once we introduce calc() support.
* cssnumbervalue: Remove gtk_css_number_value_get_unit()Benjamin Otte2016-02-131-1/+1
| | | | | | | This is in preparation for calc(), as calc(50% - 5px) is valid CSS but has 2 units. Instead, add a function to query a value's dimension (so we can differentiate lengths from numbers) and add a function to query if the value contains percentages.
* cssimageradial: Don't print 2 spacesBenjamin Otte2016-02-131-2/+4
|
* cssimageradial: Only allow at "<position>" after other propsBenjamin Otte2016-02-051-16/+20
| | | | | | | | | | | | | | | Don't allow syntax like at top left circle but follow the spec about requiring the at <position> right before the comma. This is porbably because circle at 10px 10px could be interpreted as circle 10px at 10px with the now disallowed syntax, too. Test included.
* cssimageradial: Only emit one error for wrong positionBenjamin Otte2016-02-051-4/+1
| | | | Test included.
* Implement transitions for radial gradientsMatthias Clasen2016-01-071-0/+98
| | | | This was missing in the initial implementation.
* Implement CSS radial gradientsMatthias Clasen2016-01-041-0/+588
Implement parsing and drawing of radial gradients according to http://www.w3.org/TR/css3-images/#radial-gradients. Transitions are not implemented yet.