{"action":"opened","issue":{"url":"https://api.github.com/repos/servo/webrender/issues/1219","repository_url":"https://api.github.com/repos/servo/webrender","labels_url":"https://api.github.com/repos/servo/webrender/issues/1219/labels{/name}","comments_url":"https://api.github.com/repos/servo/webrender/issues/1219/comments","events_url":"https://api.github.com/repos/servo/webrender/issues/1219/events","html_url":"https://github.com/servo/webrender/issues/1219","id":227492792,"number":1219,"title":"Semi-transparent gradient stops rendered opaque","user":{"login":"pyfisch","id":2781017,"avatar_url":"https://avatars3.githubusercontent.com/u/2781017?v=3","gravatar_id":"","url":"https://api.github.com/users/pyfisch","html_url":"https://github.com/pyfisch","followers_url":"https://api.github.com/users/pyfisch/followers","following_url":"https://api.github.com/users/pyfisch/following{/other_user}","gists_url":"https://api.github.com/users/pyfisch/gists{/gist_id}","starred_url":"https://api.github.com/users/pyfisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyfisch/subscriptions","organizations_url":"https://api.github.com/users/pyfisch/orgs","repos_url":"https://api.github.com/users/pyfisch/repos","events_url":"https://api.github.com/users/pyfisch/events{/privacy}","received_events_url":"https://api.github.com/users/pyfisch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-09T20:46:51Z","updated_at":"2017-05-09T20:46:51Z","closed_at":null,"body":"I have made a few test-cases for gradients: https://pyfisch.org/stuff/testcases-gradients.html\r\n\r\nThey render fine in Servo with Webrender except for testcase 15 where I use two stops with a value of `rgba(255, 255, 255, .5)`. This should be translucent but is rendered as solid white with servo. (The intersection of the two gradients should be brighter then the rest)\r\n\r\nSince I did not find a point where the alpha value is \"forgotten\" in servo I looked in webrender and found this file: https://github.com/servo/webrender/blob/8516d6c04235e684d9bf9c783ba4fc99dab3bf02/webrender/res/ps_gradient.fs.glsl It appears to min/max alpha values. Maybe this causes semi-transparent stops to be rendered as opaque?\r\n"}}
{"actor":{"display_login":"pyfisch"}}