Skip to content

Commit a6008c4

Browse files
jiayihutabatkins
authored andcommitted
[css-typed-om] Fix return type of example (w3c#835)
1 parent 6f9755c commit a6008c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-typed-om/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ We get them of `StylePropertyMaps` on elements.
2222

2323
To get the specified height from an element we would use the following JS:
2424
```
25-
element.attributeStyleMap.get('height'); // returns a string
25+
element.attributeStyleMap.get('height'); // returns a CSSUnitValue
2626
```
2727

2828
Similarly to get the computed value of a CSS property we would do the following:

0 commit comments

Comments
 (0)