Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was 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

Description

@gruehle
  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.

Activity

  1. pthiess commented on Nov 29, 2012

    @pthiess
    Contributor

    reviewed, medium priority

  2. njx commented on Nov 29, 2012

    @njx

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

  3. RaymondLim commented on Dec 11, 2012

    @RaymondLim
    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.

  4. added a commit that references this issue on Jan 4, 2013
  5. dangoor commented on Jan 4, 2013

    @dangoor
    Contributor

    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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions