{"action":"opened","issue":{"url":"https://api.github.com/repos/hallvors/css-fixme/issues/14","labels_url":"https://api.github.com/repos/hallvors/css-fixme/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/hallvors/css-fixme/issues/14/comments","events_url":"https://api.github.com/repos/hallvors/css-fixme/issues/14/events","html_url":"https://github.com/hallvors/css-fixme/issues/14","id":120024581,"number":14,"title":"CSSfixme throws if given a -webkit-gradient expression with a bogus color-stop","user":{"login":"dholbert","id":426803,"avatar_url":"https://avatars.githubusercontent.com/u/426803?v=3","gravatar_id":"","url":"https://api.github.com/users/dholbert","html_url":"https://github.com/dholbert","followers_url":"https://api.github.com/users/dholbert/followers","following_url":"https://api.github.com/users/dholbert/following{/other_user}","gists_url":"https://api.github.com/users/dholbert/gists{/gist_id}","starred_url":"https://api.github.com/users/dholbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dholbert/subscriptions","organizations_url":"https://api.github.com/users/dholbert/orgs","repos_url":"https://api.github.com/users/dholbert/repos","events_url":"https://api.github.com/users/dholbert/events{/privacy}","received_events_url":"https://api.github.com/users/dholbert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T20:05:19Z","updated_at":"2015-12-02T20:05:19Z","closed_at":null,"body":"STR:\r\n 0. Open your Browser Console (ctrl shift J)\r\n 1. Visit http://hallvord.com/temp/moz/cssfixme.php and paste in the following CSS:\r\n\r\n    `.a { background-image: -webkit-gradient(linear, 1 1, 2 2, 3); }`\r\n\r\n ...and press the button.\r\n 2. Check your Browser Console.\r\n\r\nACTUAL RESULTS:\r\nTypeError: position is undefined cssfixme.php:431:1\r\n\r\nWe're trying to parse `3` as a color-stop() expression there, and failing.\r\n\r\nRejecting bad input is reasonable, but throwing is bad, because it prevents later unprefixing. E.g. if you had this slightly-longer CSS...\r\n    `.a { background-image: -webkit-gradient(linear, 1 1, 2 2, 3); -webkit-transition: length }`\r\n...then we fail to suggest an unprefixed form of the the `-webkit-transition` property, because we threw when processing the earlier gradient expression.\r\n"}}