In the future we will want to break CSSPrimitiveValue into specific classes for different types. One step in this direction is to do more to hide the underlying objects holding the values, which will likely eventually be held in the CSSValue itself. A good first step is to construct objects directly rather than first constructing a sub-object and passing that to the create function.
<rdar://problem/104946560>
Pull request: https://github.com/WebKit/WebKit/pull/9686
Committed 260175@main (f5fc580b14bd): <https://commits.webkit.org/260175@main> Reviewed commits have been landed. Closing PR #9686 and removing active labels.