marcelduran/yslow — pull request #7 by papandreou (2012-02-20 20:02:03+00:00)
Title: Fixed parsing of urls from url(...) tokens in CSS values

The `YSLOW.util.getComputedStyle` function produces the wrong result when a CSS value contains more than one end parenthesis after `url(`.

The bug is demonstrated by running this page through YSlow for Firefox or Chrome: http://gofish.dk/yslowbug/

Under the "Add Expires headers" rule in the "Grade" tab it says:

Grade C on Add Expires headers
There are 2 static components without a far-future expiration date.
(no expires) http://gofish.dk/favicon.ico
(no expires) http://gofish.dk/yslowbug/foo.png), -webkit-linear-gradient(top, rgb(0, 0, 0), rgb(255, 255, 255)