Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Color Picker doesn't open if alpha value in rgba() starts with . #2138

Open
core-ai-bot opened this issue Aug 29, 2021 · 4 comments

Comments

@core-ai-bot
Copy link
Member

Issue by gruehle
Tuesday Nov 27, 2012 at 18:13 GMT
Originally opened as adobe/brackets#2227


  1. Load the following HTML:
<html>
    <body>
        <h1 style="color: rgba(0, 0, 0, .4);">Hello</h1>
    </body>
</html>
  1. Put the cursor anywhere in the rgba() value
  2. Ctrl-E

Results:
Color picker doesn't open

Expected:
Color picker

Note: If you change the alpha value from .4 to 0.4 everything works.

@core-ai-bot
Copy link
Member Author

Comment by pthiess
Thursday Nov 29, 2012 at 00:59 GMT


reviewed, medium priority

@core-ai-bot
Copy link
Member Author

Comment by njx
Thursday Nov 29, 2012 at 01:17 GMT


Looks like that is a valid format for alpha per the W3C spec for CSS <number> fields.

@core-ai-bot
Copy link
Member Author

Comment by RaymondLim
Tuesday Dec 11, 2012 at 20:27 GMT


Moving out to sprint 19 since we can't support this until we have added functionality to invoke color editor from invalid or unusual color format.

@core-ai-bot
Copy link
Member Author

Comment by dangoor
Friday Jan 04, 2013 at 13:37 GMT


This is fixed by the pull request from chtennek.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant