doesnt like explicitly sized elipses... #1

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

I have been trying this out and its great except that this ugly gradient wont parse:-

repeating-radial-gradient(ellipse 40px 134px at 50% 96%,rgb(0, 165, 223) 0%,rgb(62, 20, 123) 6.6%,rgb(226, 0, 121) 13.2%,rgb(223, 19, 44) 18.8%,rgb(243, 239, 21) 24.1%,rgb(0, 152, 71) 33.3%)

I get the message
Uncaught Error: 134px at 50% 96%,rgb(0, 165, 223) 0%,rgb(62, 20, 123) 6.6%,rgb(226, 0, 121) 13.2%,rgb(223, 19, 44) 18.8%,rgb(243, 239, 21) 24.1%,rgb(0, 152, 71) 33.3%): Missing comma before color stops

I have been trying this out and its great except that this ugly gradient wont parse:- repeating-radial-gradient(ellipse 40px 134px at 50% 96%,rgb(0, 165, 223) 0%,rgb(62, 20, 123) 6.6%,rgb(226, 0, 121) 13.2%,rgb(223, 19, 44) 18.8%,rgb(243, 239, 21) 24.1%,rgb(0, 152, 71) 33.3%) I get the message Uncaught Error: 134px at 50% 96%,rgb(0, 165, 223) 0%,rgb(62, 20, 123) 6.6%,rgb(226, 0, 121) 13.2%,rgb(223, 19, 44) 18.8%,rgb(243, 239, 21) 24.1%,rgb(0, 152, 71) 33.3%): Missing comma before color stops
davidosullivan commented 2015-02-07 22:19:42 +00:00 (Migrated from github.com)

fixed this one by changing

ellipse.style = matchDistance() || matchExtentKeyword();

to

ellipse.style = matchPositioning() || matchDistance() || matchExtentKeyword();

fixed this one by changing ellipse.style = matchDistance() || matchExtentKeyword(); to ellipse.style = matchPositioning() || matchDistance() || matchExtentKeyword();
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#1
No description provided.