Re: [csswg-drafts] [cssom-1] Consider renaming “resolved value” to something more specific

Can this be clarified in context, without changing the name? E.g., "Resolved values for `getComputedStyle()`".  I don't think the term is used in any context other than this one method.

I'm not sure if bikeshed has tools to easily find all definitions that link to https://www.w3.org/TR/cssom-1/#resolved-values, but if they can be found, it should only take a bit of clarifying prose.

E.g., in [Values 3 discussion of compatible units](https://drafts.csswg.org/css-values-3/#compat):

> When serializing resolved values that are used values,

could be more clearly stated as

>  When serializing resolved values for `getComputedStyle` that are the used value of the property,

In contrast, the general term "resolved" _is_ used in various specs to describe the process of simplifying calculations:  

- ["Specified values are resolved to computed values" (CSS 2.2)](https://www.w3.org/TR/CSS2/cascade.html#computed-value)
- ["Relative URLs…are resolved to full URLs" (CSS Values 3)](https://drafts.csswg.org/css-values-3/#relative-urls)
- ["A math expression has a resolved type" (CSS Values 3)](https://drafts.csswg.org/css-values-3/#calc-type-checking)
- ["Where percentages are not resolved at computed-value time" (CSS Values 3)](https://drafts.csswg.org/css-values-3/#calc-computed-value)

I don't think there is any reason to avoid this general use of the term.

And it only takes an edit to change the title of the MDN article to "Resolved Values (getComputedStyle)"!

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2477#issuecomment-376332228 using your GitHub account

Received on Monday, 26 March 2018 22:27:32 UTC