diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index fd301094..6f3e6fa6 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -2743,10 +2743,10 @@ The way that a {{CSSStyleValue}} serializes is dependent on how the value was co For example:
-var length1 = CSSNumericValue.from("42.0px"); +var length1 = CSSNumericValue.to("42.0px"); length1.toString(); // "42.0px" -var length2 = CSSNumericValue.from(42.0, "px"); +var length2 = CSSNumericValue.to(42.0, "px"); length2.toString(); // "42px"; element.style.width = "42.0px";