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

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

Closed
gruehle opened this issue Nov 27, 2012 · 4 comments
Closed

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

gruehle opened this issue Nov 27, 2012 · 4 comments
Assignees
Milestone

Comments

@gruehle
Copy link
Member

gruehle commented Nov 27, 2012

  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.

@ghost ghost assigned RaymondLim Nov 29, 2012
@pthiess
Copy link
Contributor

pthiess commented Nov 29, 2012

reviewed, medium priority

@njx
Copy link

njx commented Nov 29, 2012

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

@RaymondLim
Copy link
Contributor

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.

dangoor added a commit that referenced this issue Jan 4, 2013
@dangoor
Copy link
Contributor

dangoor commented Jan 4, 2013

This is fixed by the pull request from chtennek.

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

No branches or pull requests

5 participants