Re: [css-houdini-drafts] [css-typed-om] 'fr' units cannot be used in a calc

The Working Group just discussed `'fr' units cannot be used in a calc`, and agreed to the following:

* `RESOLVED: Allow fr and resolution units in calc functions, add a not to V&U explaining they don't combine with length`
* `RESOLVED: Add a note to CSS Values that new unit value types should be added to calc as they're added to CSS`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic:  'fr' units cannot be used in a calc<br>
&lt;dael> github: https://github.com/w3c/css-houdini-drafts/issues/734<br>
&lt;dael> TabAtkins: When typed OM defined math rules treated fr like any other type<br>
&lt;dael> TabAtkins: YOu can devide a resolution by 2 for example. Anything else added confusion. But looking at value spec fr and resolution aren't allowed in calc.<br>
&lt;dael> TabAtkins: Seems like not it's a purposeful limitation. I think the types were added to V&amp;U after calc. Given you can express them in typed om I'd like to be able to express in calc. Or go back to typed OM and say no you can't use these. That's oddly limiting. Proposal is allow fr units and resolution units in calc. They are independant units.<br>
&lt;dael> dbaron: I think we have resolutions to allow more unit algebra in calc.<br>
&lt;dael> TabAtkins: [missed]<br>
&lt;dael> dbaron: Then they're their own type in the unit algebra.<br>
&lt;dael> TabAtkins: Yes. fr doesn't add to length, though. but you can combine as long as end result is a reasonable unit.<br>
&lt;dael> Rossen_: Soulds reasonable. Other opinions?<br>
&lt;dbaron> I'm in favor.<br>
&lt;dael> AmeliaBR: I'd ask that maybe somewhere there's an informative note emphasizing fr can't be added and combined with length and %.<br>
&lt;dael> TabAtkins: I think that's a note in grid. If not, I'm happy to add it.<br>
&lt;dael> AmeliaBR: Sounds good.<br>
&lt;dael> Rossen_: I think V&amp;U is good for this note.<br>
&lt;dbaron> That said, it seems like we might want to be able to add in the future...<br>
&lt;dael> Rossen_: Anything besides the note. Other ideas or objections?<br>
&lt;dael> RESOLVED: Allow fr and resolution units in calc functions, add a not to V&amp;U explaining they don't combine with length<br>
&lt;dael> TabAtkins: Do we want a standing resolution that any new numeric units should add to calc?<br>
&lt;dael> chrisl: I'd rather exceptions on case by case basis.<br>
&lt;dael> TabAtkins: Agree.<br>
&lt;dael> Rossen_: Sounds reasonable. It's not like we add numeric that often<br>
&lt;dael> dbaron: Agree new numeric values should be supported by calc.<br>
&lt;dael> Rossen_: Separate resolution for CSS Values that adds a note that numeric values are supported by defualt in calc<br>
&lt;dael> TabAtkins: New unit value types should be added to calc as they're added to CSS<br>
&lt;dael> Rossen_: Obj?<br>
&lt;dael> RESOLVED: Add a note to CSS Values that new unit value types should be added to calc as they're added to CSS<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/734#issuecomment-389592303 using your GitHub account

Received on Wednesday, 16 May 2018 17:00:44 UTC