Skip to content

[css-typed-om] Add a typed OM spec for ColorValue#132

Closed
wilddamon wants to merge 5 commits into
w3c:masterfrom
wilddamon:colorvalue
Closed

[css-typed-om] Add a typed OM spec for ColorValue#132
wilddamon wants to merge 5 commits into
w3c:masterfrom
wilddamon:colorvalue

Conversation

@wilddamon
Copy link
Copy Markdown
Contributor

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

Comment thread css-typed-om/Overview.bs Outdated
readonly attribute double r;
readonly attribute double g;
readonly attribute double b;
readonly attribute double? a;
Copy link
Copy Markdown
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
Copy Markdown
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