- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 May 2023 16:40:15 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-display] Why is display listed as not animatable instead of animation type: discrete?`, and agreed to the following: * `RESOLVED: When an animations produces display none it continues to run but it still cancels animations within that subtree.` <details><summary>The full IRC log of that discussion</summary> <bramus> flackr: Ill take this<br> <bramus> flackr: we resolved to make display animatable but tried to prevent two values of none being animated, but there were lot of edge cases like variables<br> <bramus> flackr: also problem with animate content on pseudos<br> <fantasai> TabAtkins, your proposed <position> syntax has multiple errors so, no. ^_^<br> <bramus> flackr: if you animate ocntent, it destroys the pseudo<br> <bramus> flackr: added something to css-animations-2 that we only cancel animations if the computed value of display and the value of display before the animoatins cascade is none<br> <bramus> flackr: if an animt produces display none so it continues to run instead of restarting<br> <emilio> q+<br> <bramus> flackr: beahves like develoeprs expect it to work<br> <bramus> flackr: also consistent with content animations in firebox<br> <bramus> emilio: not sure is content behavior in firefox is intentiional<br> <bramus> emilio: how does this interact with nested elems?<br> <bramus> emilio: presumably we want to cancel animations deep in display none subtrees<br> <bramus> flackr: good q<br> <bramus> flackr: I think there is no lifetime issue if we want to cancel anims in nested elements<br> <bramus> flackr: i would be fine with saying that behaviour should only look at the style without local animaotins and the ancestor style can include all animated styles<br> <bramus> emilio: not sure if i follow<br> <bramus> emilio: when the display value becomes ?? – I think blink also has a mechanism to clear stuff down the tree?<br> <bramus> emilio: presumably we cancel animations then?<br> <bramus> flackr: in blink the anims are associated with the element so we can still remove all of the layout structured associated with it<br> <bramus> flackr: q is if animations keep on living<br> <bramus> flackr: and if their time restarts or not<br> <bramus> flackr: we still need to keep computed style for to plevel display none elem to know it is display none<br> <bramus> flackr: so i thikn that nested elements should just be cancelled to reduce overhead<br> <bramus> emilio: i think we should cancel them, eys<br> <bramus> s/eys/yes/<br> <bramus> emilio: need to specify when that happens?<br> <bramus> flackr: spec needs a slight change to reflect that it doesnt apply to nested elements<br> <bramus> flackr: can do an update<br> <bramus> emilio: OK<br> <bramus> flackr: Proposed resolution; when an animations produces display none it continues to run but it still cancels animations within that subtree<br> <bramus> Rossen_: Objections? Qs?<br> <bramus> RESOLVED: When an animations produces display none it continues to run but it still cancels animations within that subtree.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6429#issuecomment-1561562367 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 May 2023 16:40:17 UTC