Re: [csswg-drafts] [css-transforms] After #6320 there's no way to get an identity transform for interpolation of perspective (#6488)

The CSS Working Group just discussed `[css-transforms] After #6320 there's no way to get an identity transform for interpolation of perspective`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic:  [css-transforms] After #6320 there's no way to get an identity transform for interpolation of perspective<br>
&lt;dael> github:<br>
&lt;dael> TabAtkins: Previously we had odd behavior where perspective funt with 0 treated as no perspective. That was null transform.<br>
&lt;dael> TabAtkins: A little while back resolved that's weird and silly. perspective of 0 px is your eyes are on he screen and that's different. We clampped to a floor. You can't say 0 anymore<br>
&lt;dael> TabAtkins: No we have no way to say no perspective applied. That means infinite. Possibly this can be done with infinity keyword in calc. A bit awk and implies infinite link is stored internally or the max value triggers this<br>
&lt;dael> TabAtkins: We probably want an actual preserved value. Proposal is allow perspective to take keyword infinity directly<br>
&lt;dael> TabAtkins: That's the no transform, does 0 stuff<br>
&lt;dael> astearns: Reasonable to me. Any concerns?<br>
&lt;dael> smfr: Do we have that keyword?<br>
&lt;dael> florian: How is it different from none<br>
&lt;dael> TabAtkins: None is a null transform list. If you need to match 2 lists and want 2nd list to not do anything you cannot write that. You can't put none in the middle of a transform list<br>
&lt;dael> TabAtkins: I'm not sure what you mean smfr<br>
&lt;dael> smfr: animation iteration takes keyword infinite. Are there other places in CSS where this would be reasonable or is this special<br>
&lt;dael> TabAtkins: I think special case b/c any other place where....well...any place where infinity might be meaningful we should have a keyword indicating that behavior rather than fallback to calc constant b/c that is clamped to a numeric value<br>
&lt;dael> smfr: What happens when interpolate between infinity and 100<br>
&lt;dael> TabAtkins: Well defined. infinite is identiy matrix. It has to b/c before this perspective 0 was the infinite, it was just the wrong way to write it<br>
&lt;florian> q?<br>
&lt;dael> astearns: We're over time. I'm guessing we should punt to next week and resolve<br>
&lt;dael> smfr: Sounds fine<br>
&lt;dael> TabAtkins: Fine<br>

GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Thursday, 5 August 2021 00:03:26 UTC