Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[core] Return NONE for invalid color strings in Color::parse() #8075

Closed

Description

@anandthakker

Color::parse (via CSSColorParser::parse()) defaults to black for invalid / unparseable color strings. This prevents us from correctly evaluating property functions for color values in the case where the property value is an invalid color string -- see mapbox/mapbox-gl-js#4150

Activity

  1. added a commit that references this issue on Feb 15, 2017
  2. added
    Core
    on Feb 15, 2017
  3. added a commit that references this issue on Feb 15, 2017
  4. jfirebaugh commented on Mar 20, 2017

    @jfirebaugh
    Contributor

    I'd be fine with modifying our vendored copy of CSSColorParser to support this.

  5. self-assigned this
    on Mar 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Corebug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions