forked from mdn/browser-compat-data
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all browsers data for css.types.image.*-gradient (mdn#21472)
This PR updates and corrects version values for all browsers for the `*-gradient` member of the `image` CSS value type. This adds a `premultiplied_gradients` subfeature to all three gradient types, as all browsers (not just Firefox) had this issue in the past. In a way, this fixes mdn#14598. Test Code: ```html <div id="test"></div> <style> body { background-color: black; } #test { height: 100vh; background: linear-gradient(to bottom, red, rgba(255, 255, 255, 0)); } </style> ``` If the gradient started to transition into white, then premultiplication was not performed. If the gradient faded perfectly to black, premultiplication was performed properly.
- Loading branch information
1 parent
e2edb11
commit 3bb35e5
Showing
1 changed file
with
78 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters