> All of the regressions from bug 1337655 are compatible with standard gradients, so I want to make -moz-linear-gradient just an alias for linear-gradient. Maybe I'm misunderstanding, but I don't think this is correct... Per bug 1183994 comment 13, we round Zimbra using a gradient like "-moz-linear-gradient(top,#FFFFFF, #4AA6F1)", which is not valid as a standard gradient. IIRC standard syntax requires a "to" if you're using a box-side keyword. As a quick example: the first of these works (and is effectively what Zimbra uses), and the second does not (with -moz removed to trigger standard-gradient parsing): ``` data:text/html,<div style="background:-moz-linear-gradient(top,teal,lime)">abc data:text/html,<div style="background:linear-gradient(top,teal,lime)">abc ```
Bug 1547939 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
> All of the regressions from bug 1337655 are compatible with standard gradients, so I want to make -moz-linear-gradient just an alias for linear-gradient. Maybe I'm misunderstanding, but I don't think this is correct... Per bug 1183994 comment 13, we found Zimbra using a gradient like "-moz-linear-gradient(top,#FFFFFF, #4AA6F1)", which is not valid as a standard gradient. IIRC standard syntax requires a "to" if you're using a box-side keyword. As a quick example: the first of these works (and is effectively what Zimbra uses), and the second does not (with -moz removed to trigger standard-gradient parsing): ``` data:text/html,<div style="background:-moz-linear-gradient(top,teal,lime)">abc data:text/html,<div style="background:linear-gradient(top,teal,lime)">abc ```
> All of the regressions from bug 1337655 are compatible with standard gradients, so I want to make -moz-linear-gradient just an alias for linear-gradient. Maybe I'm misunderstanding, but I don't think this is correct... Per bug 1183994 comment 13, we found Zimbra using a gradient like "-moz-linear-gradient(top,#FFFFFF, #4AA6F1)", which is not valid as a standard gradient. IIRC standard syntax requires a `to` keyword before the box-side keyword (`top`) in order to make it valid. As a quick example: the first of these works (and is effectively what Zimbra uses), and the second does not (with -moz removed to trigger standard-gradient parsing): ``` data:text/html,<div style="background:-moz-linear-gradient(top,teal,lime)">abc data:text/html,<div style="background:linear-gradient(top,teal,lime)">abc ```