Mange/roadie — pull request #10 by mlandauer (2011-11-23 06:57:36+00:00)
Title: css3 gradients with "background" property being set multiple times only appears once in the output 

I've written a test case which I hope isolates the problem I've come up against where you might do something like this in your css to support css3 gradients on multiple browsers:

p {
background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color- stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8));
}

but unfortunately when the styles are inlined only one of the two rules is included. So, you might get something like this in your html

Hello!

I had a go at trying to figure out how to fix up but didn't make a whole lot of progress unfortunately. I got as far as figuring out that the css parser gem was outputting only one of the rules rather than both, so maybe the problem lies there?

Hope this testcase is helpful. If you can point me in the right direction to fix it that would be most awesome. Thanks!