Doesn't like new linear direction syntax... #2

Open
opened 2015-02-07 21:46:39 +00:00 by davidosullivan · 1 comment
davidosullivan commented 2015-02-07 21:46:39 +00:00 (Migrated from github.com)

this doesn't parse either...

repeating-linear-gradient(to bottom right,rgb(254, 158, 150) 0%,rgb(172, 79, 115) 100%)

this doesn't parse either... repeating-linear-gradient(to bottom right,rgb(254, 158, 150) 0%,rgb(172, 79, 115) 100%)
davidosullivan commented 2015-02-07 22:04:17 +00:00 (Migrated from github.com)

fixed this one by changing
sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,

to

sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|top (right|left)|bottom (right|left)|left|right|top|bottom)/i,

fixed this one by changing sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i, to sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|top (right|left)|bottom (right|left)|left|right|top|bottom)/i,
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rafaelcaricio/gradient-parser#2
No description provided.