On Dec 30, 2:45 pm, Boris Zbarsky <[email protected]> wrote:
> On 12/30/09 2:20 PM, pgostovic wrote:
>
> > Hi.  I tried my XULRunner app with a recent nightly build of XULRunner
> > (1.9.2b4) and gradients (CSS and SVG) are no longer working.
>
> Using which gradient syntax?  The old one, or the new one?
>
> > It did work with 1.9.2b1.
>
> Sounds like the old one.
>
> > Am I doing something wrong, or is it really broken?
>
> The former, more or less.  
> Seehttp://hacks.mozilla.org/2009/11/css-gradients-firefox-36/and in
> particular the last paragraph of the article:
>
>    "Note that the gradient syntax has changed between
>     Firefox 3.6 beta 1 and beta 2, so if you used gradients
>     with beta 1, you may need to update your code."
>
> -Boris

Thanks Boris.  However, even when I use what I think is the new syntax
it does not work.  This syntax copied and pasted from
http://demos.hacks.mozilla.org/openweb/cssBackground/gradients/ does
not work...

    background-image: -moz-linear-gradient(center bottom, black, rgba
(0, 47, 94, 0.2), white);

It does appear different from the syntax I was using which looked like
this...

    background-image: -moz-linear-gradient(left, right, from(#204E9D),
color-stop(50%, #2D80BF), to(#204E9D));

Not sure if this is relevant but the page is XUL, not HTML.

Any more suggestions?

pg
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to