Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Fix for issue #2227 - #2446

Merged
dangoor merged 2 commits into
adobe:masterfrom
chtennek:2227
Jan 4, 2013
Merged

dangoor merged 2 commits into
adobe:masterfrom
chtennek:2227

Conversation

@chtennek

Copy link
Copy Markdown
Contributor

Color Picker doesn't open if alpha value in rgba() starts with .

@ghost ghost assigned dangoor Jan 2, 2013
@RaymondLim

Copy link
Copy Markdown
Contributor

@dangoor I'm not seeing any issue with @chtennek changes in the regex. Are you sure you're testing with just that one line change in InlineColorEditor.js?

@dangoor

dangoor commented Jan 4, 2013

Copy link
Copy Markdown
Contributor

@RaymondLim you're absolutely correct. I was looking at the regex in isolation and thought I saw matches that should work but wouldn't. I just tested the cases above in proper context and all but one worked fine. The only one that doesn't work is if there are multiple spaces in front of one of the values, which seems like a bit of a degenerate case, albeit one that actually appears on the MDN page for the color data type.

@chtennek sorry for holding this up, and thanks for the fix (with tests and all). I'll merge it now.

dangoor added a commit that referenced this pull request Jan 4, 2013
@dangoor
dangoor merged commit 21d199a into adobe:master Jan 4, 2013
@chtennek
chtennek deleted the 2227 branch January 4, 2013 14:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants