Code Monkey home page Code Monkey logo

Comments (22)

dbaron avatar dbaron commented on July 24, 2024 3

w3ctag/design-reviews#955 (comment) also had one good point that I hadn't seen raised before, and that's relevant here: Using calc-size() at the endpoints as the opt in for the new behavior means that (without extra fallback declarations written by the author) the fallback in downlevel browsers (particularly for transitions) will break not only the animation but also the behavior before or after the animation. However, with a different opt-in mechanism, the fallback behavior for non-supporting browsers will not break the endpoints but only the animation between them, which is less problematic.

Also, I suppose the discussion above has led me to reconsider and be more comfortable with the idea of a "global" opt-in property for this -- that is, a single property that opts CSS transitions, CSS animations, and web animations on the element in to the new animation behavior. If we have such a property, I think my preference is that it be inherited, given that I think inheritance is a more efficient mechanism for setting it "everywhere" than a universal selector is. This would mean opting in would require :root { interpolation: sizing-keywords } (or whatever we call it) and opting a subtree out would then require #widget { interpolation: auto } (or whetever we call it).

I'll try to think about naming a bit more.

from csswg-drafts.

fantasai avatar fantasai commented on July 24, 2024 3

To the extent that we're likely to keep adding switches for interpolation of stuff that doesn't currently interpolate, I think it would make sense to choose a more general name that can accommodate more keywords. If we think authors will want to cascade them independently, we can add longhands; but I think even in that case we should clearly group them together.

Something like

animation-interpolation: normal | size-keywords || transition-discrete || add stuff here

optionally add longhands:
  animation-interpolation-size: normal | allow-keywords
  animation-interpolation-transition: <'transition-behavior'>
  etc.

(Open to other prefixes, but as @yisibl notes, there's also color-interpolation, so interpolation alone would be too generic.)

from csswg-drafts.

dbaron avatar dbaron commented on July 24, 2024 3

My intention is to keep supporting the calc-size() syntax, but just no longer make it the recommended way to opt in to animations between two values where it's needed at neither endpoint.

from csswg-drafts.

flackr avatar flackr commented on July 24, 2024 2

I'm not quite sure what you meant by:

  1. We introduce a property to refer to the interpolation behavior.

I hesitate to suggest a specific name because I'm failing to think of a good one right now, but let's say interpolation: calc-lengths. This would apply the automatic coercion to calc-size any time we are trying to interpolate to/from a discrete length for all CSS transitions, CSS animations and web animations. This would also make specifying transition-behavior unnecessary as it would now no longer compute to a discrete transition.

from csswg-drafts.

dholbert avatar dholbert commented on July 24, 2024 2

Between dbaron's proposals, I'd lean towards the former option:
size-keyword-interpolation: none | auto

That syntax feels reasonably intuitive to me; it's pretty clear that "none" (as the initial value) means that size keywords don't interpolate, vs. "auto" means some magical interpolation may happen between size keywords.

Whereas: in the other suggestion size-interpolation: auto | keywords, I have less of a good intuition for what the syntax means. It's not obvious whether the keywords value represents an expansion vs. a limitation on interpolation behavior; i.e. whether it means "also allow interpolation of keywords" vs. "only allow interpolation for keywords (preventing interpolation of other types of values)".

We could use discrete instead of none as the default value since they do in fact "animate" with a discrete interpolation, you just don't get transitions starting because transitions don't start on discrete interpolations (but it can still be animated with CSS animations or web animations).

I'm happy with either none or discrete as the naming for the initial value here, though I lean slightly towards none for simplicity.

(none seems just-as-clear since, colloquially at least, "animation between two values without interpolation" is understood to mean "animation with discrete interpolation between those two values". So "none" seems ~fine from that perspective. And "discrete" doesn't make things especially clearer, with regard to interaction with transition-behavior. Looking just at the naming, it's not much easier to grok whether/what behavior would change if you specify a transition-behavior of (a) normal vs (b) allow-discrete, alongside size-keyword-interpolation:discrete. When paired with allow-discrete, it ends up feeling like you're requesting discrete animation twice with two similar-but-not-quite-the-same syntaxes, which feels confusingly redundant.)

from csswg-drafts.

flackr avatar flackr commented on July 24, 2024 1

My main concern is that transition-behavior is specifically for transitions, but auto-coercion to calc_size to support smooth interpolations is applicable to css animations and web animations.

I.e. there are three ways to trigger an animation of size:

  1. CSS Transitions
    <style>
      .small { height: 0; }
      .target { transition: height 1s; }
    </style>
    <script>
      document.querySelector('.target').classList.remove('small');
    </script>
  2. CSS Animations
    <style>
      @keyframes expand { from { height: 0; } }
      .target { animation: expand 1s; }
    </style>
  3. Web Animations
      document.querySelector('.target').animate([
            {height: '0', offset: 0}
             /* Implicit to keyframe */
          ],
          1000);

It would be nice to use a property that opts into all of these working instead of only having transitions work but animations still be discrete.

Options:

  1. So if we use transition-behavior: interpolate-sizes (name to be bikeshedded) then we'd also need an animation-interpolation-behavior and a property on the web animation api.
  2. We introduce a property to refer to the interpolation behavior.

from csswg-drafts.

yisibl avatar yisibl commented on July 24, 2024 1

@flackr Do you mean that just by * {interpolation: calc-lengths;} and then with transition: height .3s we can enable transitions everywhere?

from csswg-drafts.

tabatkins avatar tabatkins commented on July 24, 2024 1

My only rejoinder to your comment is that box-sizing has legitimate reasons to be set to either of its major values, depending on your use-case. This, on the other hand, is just a backwards-compat fix; the behavior it's changing is just "doesn't animate at all", which doesn't really have any use-case except for "my page was written before this behavior and is accidentally depending on these values not animating". That's fixable on the authoring end at the same time as you turn the switch on (and, if we do make this an inheritable property, you can band-aid it on specific elements until you can fix their styling).

from csswg-drafts.

dbaron avatar dbaron commented on July 24, 2024

I think the other question here is whether it's desirable in this case that it's part of the transition shorthand. I think there was some suggestion (although maybe not) in the meeting today that people might want to enable this "globally" (although I think that becomes a bad idea for more complex sites built from components).

If this is enabled by transition-behavior (which is part of the transition shorthand), then enabling "globally" would probably:

  • require !important
  • require also choosing whether to use allow-discrete or not (where using allow-discrete may be problematic if transition-property: all is used, and not using it may be problematic for any of the use cases that require it such as transitions involving content-visibility or display).

But maybe enabling "globally" isn't really a use case; I think it's probably undesirable for sites that are built from component pieces. Given that, I think it's probably OK for it to be a part of the transition shorthand and part of transition-behavior as long as there's an equivalent for animations and web-animations (see previous comment).

Though, regarding that comment, I'm not quite sure what you meant by:

  1. We introduce a property to refer to the interpolation behavior.

from csswg-drafts.

flackr avatar flackr commented on July 24, 2024

@flackr Do you mean that just by * {interpolation: calc-lengths;} and then with transition: height .3s we can enable transitions everywhere?

Yes, exactly. When we determine whether we can interpolate between auto and 100px we check the computed interpolation property, and with it being calc-lengths it would coerce these to interpolable calc-size values, which is what the prototype patch that @dbaron shared did, but did so unconditionally which results in compat issues.

from csswg-drafts.

yisibl avatar yisibl commented on July 24, 2024

That's great, I support the proposal for the interpolation: calc-lengths, maybe the name needs to be discussed.

from csswg-drafts.

dbaron avatar dbaron commented on July 24, 2024

For what it's worth, I think I still lean towards including something in transition-behavior and in a property that's reset by the animation shorthand. I think mode switch properties are generally a bad design in CSS. They don't work well with multiple aspects of the cascade: action-at-a-distance when declarations from very different places interact with each other, and also cascading itself in terms of handling overrides.

That said, I'm not completely against interpolation but I think it has a design smell similar to that of box-sizing.

from csswg-drafts.

yisibl avatar yisibl commented on July 24, 2024

By the way, SVG has a color-interpolation property.

from csswg-drafts.

yisibl avatar yisibl commented on July 24, 2024

Let's review the history of how transition-behavior was added to the specification:

@fantasai proposed a transition-discrete global property. I think it's conceptually similar to the current size interpolation property, but I don't know why it wasn't chosen in the end.

At @josepharhar a list of names used to be provided:

  1. 😄transition-mode
  2. 🎉transition-type
  3. ❤️transition-animation-type
  4. 🚀transition-discrete
  5. 👀transition-interpolation

From today's perspective, it seems that transition-interpolation is more appropriate (Is it still possible to change the name?), I think the transition-behavior name is a failure, many people seeing it for the first time can't tell from the name what the property is used for. I hate adding transition-behavior: allow-discrete every time I need a transition, I really wish there was a global property that could control it.


So, I propose that the new name be size-interpolation, and the default value is normal or auto, which needs to be selected.

from csswg-drafts.

dbaron avatar dbaron commented on July 24, 2024

Yeah, I think making the property name more specific than interpolation is a good idea.

So here are two possible ideas for a property name and values for an inherited opt-in property (as suggested in #10294 (comment) and earlier), with the initial value of the property (for the current behavior) listed first and the value that opts in to the new interpolation behavior (interpolating sizing keywords when possible) listed second:

  • size-keyword-interpolation: none | auto
  • size-interpolation: auto | keywords

(In all cases the size- could also be sizing-.)

Do you have thoughts on these? (And on the size- versus sizing- question?) Other ideas?

from csswg-drafts.

flackr avatar flackr commented on July 24, 2024

Both options look reasonable to me. I agree with your earlier comment that it should be inherited. I think I have a slight preference for size-keyword-interpolation: auto as the opt-in since I have a harder time grokking whatsize-interpolation: keywords means. We could use discrete instead of none as the default value since they do in fact "animate" with a discrete interpolation, you just don't get transitions starting because transitions don't start on discrete interpolations (but it can still be animated with CSS animations or web animations).

from csswg-drafts.

yisibl avatar yisibl commented on July 24, 2024

I like the shorter name, so vote for size-interpolation.

from csswg-drafts.

dbaron avatar dbaron commented on July 24, 2024

Adding Agenda+ to discuss and maybe (!) even conclude on naming options here.

(I think my preference agrees with @flackr's comment.)

from csswg-drafts.

dbaron avatar dbaron commented on July 24, 2024

One concern I have with #10294 (comment) is that the two switches we have so far have very different characteristics:

  • transition-behavior does not make sense to set globally: it needs to be specified individually for each transition (usually separately for each direction) because it needs to be associated with a step-start timing function for one direction and a step-end timing function for the other, depending on the values at the endpoints, since generally you need one of the two values to be the one used for the entire middle of the transition. (Perhaps we should find a way to make this easier, though!)
  • the switch we're adding here does make sense to set globally; we just can't make it the default because of compatibility.

Another concern is that the animation-* prefix makes it possibly sound like it applies only to CSS Animations and not also to CSS Transitions, when it really applies to both.

from csswg-drafts.

kizu avatar kizu commented on July 24, 2024

I want to note that authors who played with the calc-size like Temani in “No more pixel rounding issues!” post: , or me in one answer to one question in mastodon did also manage to use it for non-animation/transition purposes, using it for modifying some intrinsic size for static cases, so this could be used more widely.

In these cases, neither the “animation” fits those use cases, or “interpolation”, as it is less of interpolating the value, but using the intrinsic lengths in the calculations, at least as it works in the current prototype.

from csswg-drafts.

css-meeting-bot avatar css-meeting-bot commented on July 24, 2024

The CSS Working Group just discussed [css-values-5] Interpolating calc-size() more generally, and agreed to the following:

  • RESOLVED: use the name interpolate-size: numeric-only | allow-keywords, as an inherited property
The full IRC log of that discussion <jarhar> dbaron: one of the things that came up the last time we discussee calc size was that people didnt like the idea that you had to write calc size around one of the endpoints of the animation to opt into interpolation between size keywords
<jarhar> dbaron: there was an additional piece of feedback from the tag review hich is that the using that mechanism as the opt in is not good for gradual adoption of the feature in that the opt in mechanism is a change to the way you write the value at one of the endpoints then if you you need to - either you need to explicitly write that value twice
<jarhar> without an opt in and second with a calc size around it or your code will be broken in downlevel browsers for the animation and end states particularly when looking at transition but not animation
<jarhar> dbaron: which raises the priority of ahving another opt in mechanism. what this is about is bikesheding a name for what is the mechanism to let developers opt in to animating height from zero to auto or similar things
<jarhar> dbaron: there was a discussion of two options in the issue, and maybe even more than that but i think i had posted a comment with two options three weeks ago with ? and one was size interpolation
<jarhar> dbaron: there was some discussion about whether it makes sense to combine this with transwition-behavior and i think there are two arguments for why i think it does not make sense to combine it with transition behavior
<astearns> s/?/size-keyword-interpolation/
<jarhar> dbaron: one is that this is about all types of animations, transitions animations and this is also web animations
<astearns> s/size interpolation/size-interpolation/
<jarhar> dbaron: the second and more important one i think is that transition behavior allow discrete is something that in most cases you want to use specifically for a given transition but it doesn't make sense to opt into globally because except for display and content-visibility, you cant really use transition behavior allow discrete usefully without
<jarhar> using different timing functions for both directions, in particular you need to use a step end function etc to do something thats symetrical
<jarhar> dbaron: and doesn't just flip at 50% which is usually not what you want when animating a discrete property
<jarhar> dbaron: and because of that transition behaviro alow discrete is something you want to use granularly to a speicifc property. this really only exists for compat, if we were designing from the start we would have just made this behavior. we've had this on the web for 14 years without this and theres too much dode on the web that would just break if
<jarhar> we turned this on. this is something where what we want is really just a gllbal opt in and we want a property that devs can just set on a root of something and just opt themselves into the new behavior and not have to use it in a granular way when they specify transitions
<jarhar> dbaron: i had two naming options in the issue: ?? and ??, i preferred the first one. there are a number of options in the issue, what i just said is a response to what elika wrote in the issue
<astearns> ack fantasai
<fantasai> https://github.com//issues/10294#issuecomment-2149359260
<jarhar> fantasai: my comemtn was that rather than adding a new property one off for every new thing that we figure out how to animate, it would be nice if we had a single property that said flip on interpolation for these things, and if you want to cascade these we have a longhand
<leaverou2> q+
<fantasai> animation-interpolation: normal | size-keywords || transition-discrete || add stuff here
<fantasai> animation-interpolation-size: normal | allow-keywords
<fantasai> animation-interpolation-transition: <'transition-behavior'>
<jarhar> fantasai: my proposal is ? which takes a buncho f keywords and takes longhands so you can set them independently
<astearns> s/?/a animation-interpolation shorthand/
<jarhar> fantasai: a lot of poeple do want to set it glboally ?? step start makes a lot of sense but transition behavior doesn't turn things on unless you have explicitly specified that property in your treansition property list
<jarhar> fantasai: transitioning all properties doesn't run on the discrete properties
<jarhar> dbaron: my memory is that was true in the earlier rounds of the proposal when we were trying to do it with the opt in
<jarhar> fantasai: people have requested a global switch, we should have one that does everything except all. if you're trying to transition a discreet property then you might want to have that work. thats a separate issue from adding this one, we should have a framework to which we are adding these things
<ydaniv> q+
<leaverou2> q?
<jarhar> fantasai: this wont be the last time, this is the second time we are doing it, one off property thats not consistent i dont think is a great forwards plan. we shoul daccept that we are going to do this for a whole bunch of stuff
<jarhar> fantasai: lets put them under a consistent syntax
<jarhar> dbaron: im more willing to accept half that argument. consistent naming and syntax im fine with. the idea of having a shorthand for doing a bunch of them at once i am skeptical of, these are going to be compat things that people are going to opt into at different times and i dont want them to break each other. want them to cascade separately rather
<jarhar> than together
<TabAtkins> +1 to dbaron here, we *need* them separately (unfortunately) *because* of future-compat
<bramus> +1
<TabAtkins> that's the reason we're having to add opt-ins in the first place
<astearns> ack leaverou
<jarhar> leaverou2: we have been discussing how people have to specify ?? for these cases, we have been trying to design for colors how to extend transitions and animations so that authors can provide ?? i wonder if we can solve these with the same properties so that we dont have to keep adding, transition interpolation options, just wanted to throw it in
<astearns> ack ydaniv
<fantasai> s/??/color interpolation space/
<astearns> interpolation-switch-foo and interpolation-switch-bar?
<jarhar> ydaniv: +1 to what elika suggested. i had a similar idea for a way forward with aadding a animation wide ? to sort of fix the way we have css animations with keyframe wide ? entire animation so something like animation timing function mode or is mode that these all folow the same ? of ideas. bramus had a proposal for something like general
<jarhar> configuration polace but another idea is maybe we can have this sort of stuff inherhit buydefault and use the cascade
<jarhar> fantasai: we dont want them to inherit by default. someone will design this component and animations for it and someone else design whats in the slot but didnt expect this extra bheavior so i think you want it on a non inherited property
<astearns> ack dbaron
<bramus> q+
<jarhar> dbaron: for the compatibility opt in i do want it to be an inherited property because its a thing that we really want developers to be able to set once and then have the new thing and they dont have to worry about it. they can just set it on the root or set it on the root of their component and then just have it enabled
<jarhar> fantasai: if you set it as an inheritable property then it will aply to - you will have to know to unset it to certain parts of the document
<emilio> +1 on inherited, otherwise eventually people will *, *::before, *::after { foo: inherit } and that's slower
<jarhar> dbaron: that is a slight disadvantage if you have components that youre not in control of. its a temporary disadvantage, the hope is that people will expect to be on over time and thats a short term problem for components that dont work with it enabled
<fantasai> TabAtkins, yeah, that's why I suggested having longhands
<miriam> q+ to respond
<kbabbitt> +1 to inherited for the same reason as emilio
<TabAtkins> regardless of longhands, an 'all' shorthand value is off the table. (but a shorthand that lets you turn on all the individual opt-ins would be fine, yeah)
<jarhar> dbaron: the other thing i wanted to say is that in response to what both lea and ydaniv were asking, i think one of the key points here is that because this is a compat opt in i want to go back to the point that i want this to cascade separately from other properties so they dont have multiple declarations. im not saying i dont want to do the
<jarhar> things youre asking for, i just want them to be in a different property from this one, maybe with a different naming scheme
<fantasai> TabAtkins, 100% agreed.
<jarhar> dbaron: explicitly no shorthand, naming scheme ties them together
<astearns> ack bramus
<bramus> https://github.com//issues/9109
<fantasai> TabAtkins, unless we want all-2024, all-2025, all-2027 etc. :p
<jarhar> bramus: i want to respond to ?'s remark about config thing which he explicitly mentioned. leads to this issue right here. i dont think that would be a good option for things already mentioned ?? global switch and you would want that here, older animation library thats not using the new way of transitioning, so it needs to be on a per case basis in
<jarhar> your dom
<jarhar> bramus: ?? and not a global on or off thing
<jarhar> q+
<astearns> ack miriam
<Zakim> miriam, you wanted to respond
<dbaron> s/?'s/ydaniv's/
<bramus> s/?? global switch/to have a global switch
<jarhar> miriam: i disagree that the sense that inheritance makes it harder to override because people are going to set it on the universal selector and before and after and thats oging to be slow and you still need to know to override it when you need to override it, dont see ? about inheritance here
<bramus> s/and you would want that here/and you would NOT want that here
<astearns> ack jarhar
<fantasai> fantasai: that's fair
<bramus> jarhar: I feel sad that transition-behavior is not good enough for this
<jarhar> dbaron: if noone else is on the queue, id like to get consensus on a name. i want to get elikas ? if i could get that open
<fantasai> https://github.com//issues/10294#issuecomment-2149359260
<fantasai> animation-interpolation-size: normal | allow-keywords
<jarhar> dbaron: i wanted to try to see if we can get consensus on a name. one of the things elika wrote in a comment was animation interpolation size colon normal or allow keywords. does that seem reasonable? i dont want to add the longhand here.
<jarhar> dbaron: shorthand, sorry
<dbaron> animation-interpolation-size: normal | allow-keywords
<jarhar> dbaron: would people be ok with animation interpolation size normal ? keywords
<jarhar> astearns: should animation be in the name?
<jarhar> fantasai: its confusing to do animation, it applies to transitions and animations, animations in a much more general sense
<lwarlow> q+
<jarhar> fantasai: on the flip side, we also have interpolation used for example gradient, color inteprolation for gradient is much more different
<jarhar> fantasai: too generic idk?
<lwarlow> q-
<fantasai> s/too/interpolation is maybe too/
<jarhar> astearns: it is a ? scheme. ? so back up to irc i suggested interpolation switch as a prefix for this stuff
<jarhar> astearns: you have an interpolation switch size, interpolation switch color space
<kbabbitt> q+
<bramus> q+ for the name: interpolation-behavior?
<jarhar> dbaron: i liked just starting with interpolation, im hesitant to throw switch in there. its almost like interpolation property
<jarhar> fantasai: its like interpolation mode. if we dont need to add mode then dont
<jarhar> astearns: we dont have to make these short, were designing them so that authors dont have to use them very often
<jarhar> fantasai: i dont think switch makes it less generic. we dont need it to be long, just clear
<jarhar> bramus: maybe interpolation behavior like transition behavior?
<bramus> q-
<jarhar> dbaron: i didnt want that because i want a property thats specific to the sizing keywords thing because we might need other things for color or images later on. because of the compat aspects i want these to be separate properties rather than separate values
<astearns> ack kbabbitt
<dbaron> interpolation-size: normal | allow-keywords
<astearns> ack fantasai
<Zakim> fantasai, you wanted to respond to that
<jarhar> kbabbitt: my comment on the naming is that typically in css the last noun is the sort of type of thing that were modifying or setting, so i guess my issue with interpolation size is that it sounds like its setting a size of something like background size, so id favor size interpolation, interpolation switch
<lwarlow> q+
<jarhar> fantasai: we could make it sizing like box sizing
<jarhar> dbaron: thats the tension between what you want which lines up with my original proposal vs elikas desire to have ? things and i dont see a good way to do both
<jarhar> fantasai: someday id also like to have a size shorthand
<jarhar> astearns: lets not go down that rabbit hole just yet
<dbaron> interpolate-size-keywords: none | normal
<jarhar> lwarlow: we could do size interpolation, although we do want ?
<lwarlow> q-
<jarhar> dbaron: i just typed in one other suggestion which is inteprolate size keywords, none is the initial value. maybe tries to satisfy both because it starts with interpolate, and im ok with interpolation as well, it then tries to talk about what the thing is and by putting words in the name of the property and it doesn't sound like its setting a size
<jarhar> lwarlow: normal as the value seems confusing, dont know which is which
<khush> allow, disallow?
<jarhar> dbaron: the problem is that we try to avoid the values like yes or no because we might want a third one at some point
<jarhar> fantasai: i wonder if using interpolate size instead of interpolation makes it clearer that this isnt going to be a size
<jarhar> dbaron: so youre thinking interpolate size colon auto or allow keywords? or normal?
<dbaron> interpolate-size: normal | allow-kewyords
<jarhar> fantasai: if we want to pick a value other than normal, we would like it to be the new normal
<jarhar> astearns: legacy
<jarhar> astearns: maybe that doesn't convey enough
<jarhar> fantasai: numeric ? keywords
<jarhar> dbaron: numeric only and allow keywords
<dbaron> interpolate-size: numeric-only | allow-keywords
<jarhar> lwarlow: is it actually ? though? could you use it ?
<jarhar> dbaron: calc is numeric, its number
<jarhar> lwarlow: yeah i guess
<jarhar> fantasai: technical term in the spec is dimensions but i dont like that
<jarhar> lwarlow: how important is that keyword? thats the one that you're generally not going to be set in not the deault value so we could give it a slightly ?
<jarhar> fantasai: numeric only works
<jarhar> lwarlow: yeah
<jarhar> lwarlow: ? to normal
<lwarlow> +1
<jarhar> astearns: we have a proposed bikeshedding resolution: inteprolate size which takes ? or keywords as values
<fantasai> astearns: Any concerns? Is anyone sad?
<bramus> s/takes ? or keywords/with numeric-only | allow-keywords
<dbaron> RESOLVED: use the name interpolate-size: numeric-only | allow-keywords, as an inherited property
<jarhar> astearns: remove current restriction to have calc size as one of the values?
<jarhar> dbaron: yeah i should have said more about what th eproperty does, but yes the idea is that if you specify this then it iwll allow interpolation between two thing sneither of which is calc size, using calc sie as one of the intermediate ones so you dont have to use calc size it just shows up in your animation
<jarhar> astearns: still an author facing thing?
<jarhar> dbaron: yes but we woudlnt promote it as the mechanism for opting in to these animations. still an author facing thing that you can use for other things like roma but when we talk about using it for animations we will use the property we just made rather than using calc size
<jarhar> kbabbitt: analogous to using ? to animate from a ? to a length for example
<kbabbitt> s/using ?/using calc()/
<jarhar> TabAtkins: ?? but thats much more ?, this is not needed for most cases
<kbabbitt> s/from a ? to a length/from a percentage to a length/
<jarhar> astearns: do we need a second resolution about removing the requirement for calc size?
<jarhar> TabAtkins: there wasn't any such requirement in the spec, we define the rules for how calc size, and this adds an additional rule to that
<jarhar> astearns: anything more on this issue?

from csswg-drafts.

dbaron avatar dbaron commented on July 24, 2024

One other question about the interpolate-size property: does it go in css-values-5 (which is a little bit odd because that spec doesn't otherwise specify properties), or does it go elsewhere (such as maybe css-sizing-3 or css-sizing-4)?

from csswg-drafts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.