Skip to content

Conversation

wilddamon
Copy link
Contributor

@shans This is a tidied-up version of @njlawton's draft spec for ColorValue. PTAL

readonly attribute double r;
readonly attribute double g;
readonly attribute double b;
readonly attribute double? a;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should a be nullable? I suppose it should just be 1.0 when not specified.

@wilddamon wilddamon changed the title Add a typed OM spec for ColorValue [css-typed-om] Add a typed OM spec for ColorValue Jul 11, 2016
@tabatkins
Copy link
Member

Closing because we're instead porting over my previous attempt at adding a Color JS API from the Colors 4 spec.

@tabatkins tabatkins closed this Jan 31, 2018
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

Successfully merging this pull request may close these issues.

3 participants