- From: Claudia Meadows via GitHub <noreply@w3.org>
- Date: Sun, 14 Sep 2025 19:17:20 +0000
- To: public-css-archive@w3.org
@fantasai The idea is that for routing (see that linked issue/repo), tabs, and such. Pure CSS tabs have been a thing for a long time, using `display: none` to hide inactive tabs. And there are major limitations to this: [while animation state resets, input state does *not*](https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcIB0sxhAGnFgCcB7KKNAbQAY9qBdAgMwEsZdVLQA7AQwFsIaTAAt4-CgVgluiWcIA8SFgDcABLCi8cAXgA6IeLwBGYAwD493NWqWqNW3QaOmAtEV7KSFqzZsKWbgAHAFd4NXgATyCIfRAPLwM1PkE4lySWJDSTMHdPFhJXGQgk2BE4AGtkS2s-AOCwiOjYgwSCpJSWwxMMrOccvK9XeAB3bxAav1tA0PComLi28eSBLvSQNUzstyXhkSIIEonfWwB6ZRVJ2wuHbTBt3PLPCCIfWv8tY2g1JhIiB8GBSK3CO5gA8iCFKdPtArh8TN9fv9+jt8oVRuNzAAVMZQmFQOG2fE-P4A3bwfaHCxYykQPEIgknKEXK52dSaO4A4wkJCRN5TNmbPrdNzc3nA0EnAVgFQAc1uThAvG4LH4rjARleGxULAgIwAQiQAB5xahqM0ARmolut-KmdSCvApamFAFkAKy0K1qK14ADsAE4MABmNQB2iBkMALySp0J-lOMtl8dsQRTNgAMn8IPxNkEwCFc0gyH81GAWOFVvA8BoZJAEBB4CEiGp8kEWGBYIF5dAKzXIEgXSQ1BAWCEwPweREc0FS4Eu8okCFZGpGp9syPwsWoBv+LxZXxW1AWABHEK8DBqV13XhqPdwCB8MBqHVGCAvshhR3hHUqF4eVtBHCRsWAEF9H0fJ0O0Axs1BgBBxx+IhuzYLRV3gS8AAVkP4aC-j4A44N4LsVVvWBm14d8wH3Ct4GgpgXkEWRC1bZR207btkhIDUAIY49n2bQ8VXLF1eHbYxEL3ZtoJEEwK2VDC1AAZQrEcPHCaj20fNQglIQIuJ4sjmwLZ9J3YOj3zbDsSPlMz+J06AYFkCAwDPd9yI8YwK2bHStEQW9lAQ-gNSPU8QkbS8AGFHGfaAc0fJtc0E28QVgEcVVzaRuHrRAmxbbdSwgEIO0nQduBkEcQr-EQWHItDEHIccMClOpTjTFrmVUQlBS2FFcjFSJhjGO0BXxcwlIgXgiDKVBpgaOZmjiSAprKCx6S+Rl3gddM1AAMV4EIuwk59kJMstkCHHcWxSMtYDi063J0nDoJeJ0VlzVUYiIZRYKCWTIEasAopCLzj1vN7WBVY6Ij+NyVxebi), and custom elements likewise don't receive any direct notification they're hidden. While this is usually acceptable (and even desired) with tabs, it would *not* be wanted with the HTML routing proposal, which fundamentally works very similarly. There *are* times when you want input state and such to be retained, and so simply hacking `display: none` to do this is *not* a correct solution, even ignoring the obvious web compat concerns. -- GitHub Notification of comment by dead-claudia Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12462#issuecomment-3289804099 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 14 September 2025 19:17:21 UTC