Some gradients do not appear to trigger the new gradient editor. I used styles.css: .float { background: linear-gradient(green, blue); } and test.html: <!doctype html> <html> <head> <link href='styles.css' rel='stylesheet'> <style> .float { width: 200px; height: 200px; float: left; } </style> </head> <body> <div class='float'></div> </div> </body> </html> Changing the gradient to linear-gradient(0deg, green, blue) did work.
<rdar://problem/16705257>
Created attachment 230062 [details] Reduced testcase.
WebInspector.LinearGradient.linearGradientWithComponents() is being called with components = [["green"], ["blue"]] and hits the following branch: // We don't support any of the legacy linear gradient formats. return null; … which was added in http://trac.webkit.org/changeset/165017 to fix https://bugs.webkit.org/show_bug.cgi?id=129623.
Created attachment 230065 [details] Patch
Comment on attachment 230065 [details] Patch Clearing flags on attachment: 230065 Committed r167756: <http://trac.webkit.org/changeset/167756>
All reviewed patches have been landed. Closing bug.