Changeset 167756 in webkit
- Timestamp:
- Apr 24, 2014 7:37:15 AM (10 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r167685 r167756 1 2014-04-24 Antoine Quint <graouts@webkit.org> 2 3 Web Inspector: gradient editor does not appear for linear-gradient with no specified angle 4 https://bugs.webkit.org/show_bug.cgi?id=132083 5 6 Reviewed by Timothy Hatcher. 7 8 Only assume we're parsing a legacy-formatted gradient if the first parameter is not a color. 9 10 * UserInterface/Models/Gradient.js: 11 (WebInspector.LinearGradient.linearGradientWithComponents): 12 1 13 2014-04-22 Brent Fulgham <bfulgham@apple.com> 2 14 -
trunk/Source/WebInspectorUI/UserInterface/Models/Gradient.js
r165017 r167756 189 189 } 190 190 components.shift(); 191 } else { 192 // We don't support any of the legacy linear gradient formats. 191 } else if (components[0].length !== 1 && !WebInspector.Color.fromString(components[0][0])) { 192 // If the first component is not a color, then we're dealing with a 193 // legacy linear gradient format that we don't support. 193 194 return null; 194 195 }
Note: See TracChangeset
for help on using the changeset viewer.