Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix two bugs in linear gradient rendering. #175

Merged
merged 1 commit into from Feb 5, 2016

Commits on Feb 5, 2016

  1. Fix two bugs in linear gradient rendering.

    1. When the first stop of a gradient was not at position 0%, WebRender
       did not draw the solid color from 0% to that first stop, in violation
       of CSS-IMAGES-3.
    
    2. Certain gradient angles would cause the segments to be too narrow.
       This patch fixes this by correcting the trigonometric calculations.
    
    Closes #161.
    pcwalton committed Feb 5, 2016
You can’t perform that action at this time.