Skip to content

Commit 19162b1

Browse files
authored
Update README.md
Link to the actual CSSColorValue section, rather than saying it is in level 2
1 parent b2adcaa commit 19162b1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css-typed-om/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,18 @@ The class can be broken down into two subclasses:
9090

9191
[CSSResourceValue](https://drafts.css-houdini.org/css-typed-om-1/#resourcevalue-objects) objects represent CSS values that require an asynchronous network fetch. Hence, they also describe the status the resource is in. Properties with image values (e.g. `background-image`), are represented by [CSSImageValues](https://drafts.css-houdini.org/css-typed-om-1/#cssimagevalue)
9292

93+
#### CSSColorValue
94+
95+
[CSSColorValue](https://drafts.css-houdini.org/css-typed-om-1/#colorvalue-objects) objects represent color values.
96+
9397
### What about Custom Properties?
9498

9599
Unregistered custom properties are represented by [CSSUnparsedValues](https://drafts.css-houdini.org/css-typed-om-1/#cssunparsedvalue) in the Typed OM API. `var()` references are represented using [CSSVariableReferenceValues](https://drafts.css-houdini.org/css-typed-om-1/#cssvariablereferencevalue).
96100

97101
## Future Capabilities
98102

99103
The current specification doesn't have support for the following, however support for the following is under consideration for Typed OM Level 2:
100-
* Colors,
104+
101105
* URLs (that aren't images),
102106
* Shapes,
103107
* Strings,

0 commit comments

Comments
 (0)