Re: [csswg-drafts] [css-properties-values-api-1] What is the computed value of a <transform-list> in the middle of a layout dependent matrix decomposed interpolation?

_From @css-meeting-bot on November 9, 2017 18:42_

The Working Group just discussed `What is the computed value of a <transform-list> in the middle of a layout dependent matrix decomposed interpolation?`, and agreed to the following resolutions:

* `RESOLVED: Add generic interpolation function. Name TBD. For Units and Values spec.`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> Topic: What is the computed value of a &lt;transform-list> in the middle of a layout dependent matrix decomposed interpolation?<br>
&lt;TabAtkins> GitHub: https://github.com/w3c/css-houdini-drafts/issues/425<br>
&lt;nainar> Scribenick: nainar<br>
&lt;nainar> TabAtkins: Problem - you have a rtanstition between translate 30% and rotation 30 deg. The 30% is less dependant on lyaout info.<br>
&lt;nainar> TabAtkins: you are in the middle of transition - due to incomaptiblilty you get matrix<br>
&lt;nainar> TabAtkins: What should CSSOM return for Computed value?<br>
&lt;nainar> TabAtkins: string based computd vaue can return layout dependant, but typed om cant<br>
&lt;nainar> dbaron: interpolatematrix in gecko internally. This is important for intepolation rules for transform Needs to interpolate between partial inter-polation results. So that you can change in the middle3of transtion<br>
&lt;nainar> dbaron: There is other rationale for interpolation this.<br>
&lt;nainar> dbaron: Thought we agrred to add this to transform spec?<br>
&lt;nainar> TabAtkins: Happy to add it but not there currently<br>
&lt;nainar> surma: why cant we interpolate on % value<br>
&lt;nainar> dbaron: you cant represent computed value without layout<br>
&lt;nainar> TabAtkins: GCS does used vaoue for this. We are trying to return ComputedValue which isnt representable as a list<br>
&lt;nainar> surma: Sounds like you need to solve geenrically.<br>
&lt;nainar> TabAtkins: Add interpolate function that interpolates between two values. Like cross fade<br>
&lt;nainar> TabAtkins: Proposal name is blend<br>
&lt;nainar> dbaron: Sounds too imge-y<br>
&lt;nainar> mwoodrow: Happy to accept concept not name<br>
&lt;nainar> dholbert: You could simplify calc in many cases.<br>
&lt;dholbert> s/calc/to calc/<br>
&lt;nainar> TabAtkins: computed value from 10 px to 10 px should be a px value not the function<br>
&lt;nainar> RESOLVED: Add generic interpolation function. Name TBD. For Units and Values spec.<br>
&lt;dbaron> s/Units and Values/Values and Units/<br>
</details>


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

Received on Monday, 2 July 2018 06:10:02 UTC