Comment #3 on issue 1491 by [email protected]: Support for CSS3 linear-gradient
http://code.google.com/p/google-caja/issues/detail?id=1491

http://dev.w3.org/csswg/css-images-3/#linear-gradients says

<linear-gradient> = linear-gradient(
        [ [ <angle> | to <side-or-corner> ] ,]?
        <color-stop>[, <color-stop>]+
)
<side-or-corner> = [left | right] || [top | bottom]

and http://dev.w3.org/csswg/css-images-3/#color-stop-syntax says

<color-stop> = <color> [ <percentage> | <length> ]?

https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient concurs under "Formal grammar"

----

A gradient is an image that smoothly fades from one color to another.

and

<gradient> = [
        <linear-gradient> | <radial-gradient> |
        <repeating-linear-gradient> | <repeating-radial-gradient> ]

so a linear-gradient is just part of gradient

In addition to <linear-gradient> and <radial-gradient>, this specification defines <repeating-linear-gradient> and <repeating-radial-gradient> values. These two notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously.

so syntactic support for linear-gradient gets us repeating-linear-gradiant as well.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to