xiaoc...@chromium.org https://developer.mozilla.org/en-US/docs/Web/CSS/min#Examples https://developer.mozilla.org/en-US/docs/Web/CSS/max#Examples https://developer.mozilla.org/en-US/docs/Web/CSS/clamp#Examples Specification: https://drafts.csswg.org/css-values-4/#comp-func http://bit.ly/31Yfkm6TAG review doesn't seem necessary.There is no change to existing specs, and the feature seems pretty small with pretty straightforward behaviors introduced. Allow comparison functions min(), max() and clamp() in math expressions for numeric CSS values. https://crbug.com/825895 The feature has been requested for over a year with many stars, and has been shipped in Safari. We should also make it available in Chromium.Not expected.
There are various bits here that are tricky and for which a naive implementation on Blink would make stuff not be correct and interoperable. For example all the callers to Length::IsPercentOrCalc are wrong if you start treating min() and max() the same way calc() is treated (which is the obvious way to implement it). But I assume you're aware of those so :)
Also, related-ish question, does this intent include the multi-unit math that values-4 specifies? Or just the new functions? Those bits are not shipped by Safari and are probably a lot trickier.
Firefox: Public support (https://bugzilla.mozilla.org/show_bug.cgi?id=1519519)
I wouldn't consider having a bug on file for this "Public
support".
I've been working on things that happen to block that bug for unrelated reasons, mostly performance and code cleanup.
Though I personally think these are nice, I don't speak for Mozilla as a whole :)
-- Emilio
Edge: No public signals Safari: Shipped (https://bugs.webkit.org/show_bug.cgi?id=167000) Web developers: No signals Not expected. Not expected. Not expected.Not expected. Yes No https://crbug.com/978682 https://bugs.chromium.org/p/chromium/issues/detail?id=825895 https://chromestatus.com/feature/5714277878988800This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFqEGhYKuuij5h7pmmoSGqPd_0BOpE_9fxpeHv1zpMVLSFz2HA%40mail.gmail.com.
On 6/26/19 9:15 PM, Xiaocheng Hu wrote:
xiaoc...@chromium.org https://developer.mozilla.org/en-US/docs/Web/CSS/min#Examples https://developer.mozilla.org/en-US/docs/Web/CSS/max#Examples https://developer.mozilla.org/en-US/docs/Web/CSS/clamp#Examples Specification: https://drafts.csswg.org/css-values-4/#comp-func http://bit.ly/31Yfkm6TAG review doesn't seem necessary.There is no change to existing specs, and the feature seems pretty small with pretty straightforward behaviors introduced. Allow comparison functions min(), max() and clamp() in math expressions for numeric CSS values. https://crbug.com/825895 The feature has been requested for over a year with many stars, and has been shipped in Safari. We should also make it available in Chromium.Not expected.There are various bits here that are tricky and for which a naive implementation on Blink would make stuff not be correct and interoperable. For example all the callers to Length::IsPercentOrCalc are wrong if you start treating min() and max() the same way calc() is treated (which is the obvious way to implement it). But I assume you're aware of those so :)
Also, related-ish question, does this intent include the multi-unit math that values-4 specifies? Or just the new functions? Those bits are not shipped by Safari and are probably a lot trickier.
Firefox: Public support (https://bugzilla.mozilla.org/show_bug.cgi?id=1519519)I wouldn't consider having a bug on file for this "Public support".
I've been working on things that happen to block that bug for unrelated reasons, mostly performance and code cleanup.
Though I personally think these are nice, I don't speak for Mozilla as a whole :)
---- Emilio
--Edge: No public signals Safari: Shipped (https://bugs.webkit.org/show_bug.cgi?id=167000) Web developers: No signals Not expected. Not expected. Not expected.Not expected. Yes No https://crbug.com/978682 https://bugs.chromium.org/p/chromium/issues/detail?id=825895 https://chromestatus.com/feature/5714277878988800This intent message was generated by Chrome Platform Status.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFqEGhYKuuij5h7pmmoSGqPd_0BOpE_9fxpeHv1zpMVLSFz2HA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5e22ecdf-67f0-b650-9d81-bfea60f1fc99%40mozilla.com.
API owners: is a TAG review necessary for this one?
Thanks!On Wed, Jun 26, 2019 at 12:15 PM Xiaocheng Hu <xiaoc...@chromium.org> wrote:xiaoc...@chromium.org https://developer.mozilla.org/en-US/docs/Web/CSS/min#Examples https://developer.mozilla.org/en-US/docs/Web/CSS/max#Examples https://developer.mozilla.org/en-US/docs/Web/CSS/clamp#Examples Specification: https://drafts.csswg.org/css-values-4/#comp-func http://bit.ly/31Yfkm6TAG review doesn't seem necessary.There is no change to existing specs, and the feature seems pretty small with pretty straightforward behaviors introduced. Allow comparison functions min(), max() and clamp() in math expressions for numeric CSS values. https://crbug.com/825895 The feature has been requested for over a year with many stars, and has been shipped in Safari. We should also make it available in Chromium.Not expected.
Firefox: Public support (https://bugzilla.mozilla.org/show_bug.cgi?id=1519519) Edge: No public signals Safari: Shipped (https://bugs.webkit.org/show_bug.cgi?id=167000) Web developers: No signals Not expected. Not expected. Not expected.Not expected. Yes No https://crbug.com/978682
https://bugs.chromium.org/p/chromium/issues/detail?id=825895 https://chromestatus.com/feature/5714277878988800This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFqEGhaiSv4MxWeh6S0fAdg%2BLrUJy26KHKk%3DNjv81GrPW9NUFw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEishn5LnKOUeKLm1vcDDM5e%2BNd6tDiqtXJpLXBhv9k0SQ%40mail.gmail.com.
Xiaocheng and I have already spoken about this, but I would like to see the interpolation story (https://github.com/w3c/csswg-drafts/issues/4082) answered before we ship this. It may be that interpolation is already well defined, but this wasn't clear to me when Xiaocheng and I chatted about it. It would be well worth investigating how Safari handles interpolation of min(), max(), and clamp() today if they have already shipped, and check whether they have landed any WPT tests relating to interpolation (the Safari bug mentions WPT tests once - most likely in the non-interpolation context - but it's not clear to me if they actually landed any).That said, not an API owner, can't block anything formally :p
RESOLVED: For interpolation math functions are treated as atomic algebraic terms. You interpolate a calc expression that is the weighted sum of all the terms
On Thu, 4 Jul 2019 at 03:48, Yoav Weiss <yo...@yoav.ws> wrote:On Wed, Jun 26, 2019 at 9:16 PM Xiaocheng Hu <xiaoc...@chromium.org> wrote:API owners: is a TAG review necessary for this one?Was this discussed as part of the CSSWG? If so, and since this is already shipped in Safari, I don't feel it's necessary to wait for a TAG review here.
Thanks!On Wed, Jun 26, 2019 at 12:15 PM Xiaocheng Hu <xiaoc...@chromium.org> wrote:xiaoc...@chromium.org https://developer.mozilla.org/en-US/docs/Web/CSS/min#Examples https://developer.mozilla.org/en-US/docs/Web/CSS/max#Examples https://developer.mozilla.org/en-US/docs/Web/CSS/clamp#Examples Specification: https://drafts.csswg.org/css-values-4/#comp-func http://bit.ly/31Yfkm6TAG review doesn't seem necessary.There is no change to existing specs, and the feature seems pretty small with pretty straightforward behaviors introduced. Allow comparison functions min(), max() and clamp() in math expressions for numeric CSS values. https://crbug.com/825895 The feature has been requested for over a year with many stars, and has been shipped in Safari. We should also make it available in Chromium.Not expected.As far as developer advice goes, what would be the recommendation for using these new functions while they are supported by some browsers but not all?To use `@supports`? Something else?
Sorry for the delay.On Thu, Jul 4, 2019 at 5:28 AM Stephen Mcgruer <smcg...@chromium.org> wrote:Xiaocheng and I have already spoken about this, but I would like to see the interpolation story (https://github.com/w3c/csswg-drafts/issues/4082) answered before we ship this. It may be that interpolation is already well defined, but this wasn't clear to me when Xiaocheng and I chatted about it. It would be well worth investigating how Safari handles interpolation of min(), max(), and clamp() today if they have already shipped, and check whether they have landed any WPT tests relating to interpolation (the Safari bug mentions WPT tests once - most likely in the non-interpolation context - but it's not clear to me if they actually landed any).That said, not an API owner, can't block anything formally :pThe interpolation spec issue is already resolved:
RESOLVED: For interpolation math functions are treated as atomic algebraic terms. You interpolate a calc expression that is the weighted sum of all the terms
So there's no blocking issue here.On Thu, 4 Jul 2019 at 03:48, Yoav Weiss <yo...@yoav.ws> wrote:On Wed, Jun 26, 2019 at 9:16 PM Xiaocheng Hu <xiaoc...@chromium.org> wrote:API owners: is a TAG review necessary for this one?Was this discussed as part of the CSSWG? If so, and since this is already shipped in Safari, I don't feel it's necessary to wait for a TAG review here.Sorry I'm not familiar with this process. How do I check?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFqEGhZ40yvh4U6iUa2svr9amakio%3Dq6bPH%3D92KjoavtTyB9dQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEhF0M%3DjsKmjZitxZ0Wy2c_BMM2mnmLMHS46yFxc2F%2BnZw%40mail.gmail.com.
-Boris
(back from vacation...)