- From: Shiba <notifications@github.com>
- Date: Thu, 27 Mar 2025 02:17:16 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 27 March 2025 09:17:20 UTC
DeepDoge left a comment (whatwg/dom#736) I see. I mean with "`<div>` with `display: contents`", I meant attribute gives the element `display: contents` style. And element becomes transparent to the query selector. I wasn't trying to say it behaves like a `<div>`. If giving `display: contents` to certain elements have some gotchas, it has those gotchas as well. I would prefer that this attribute would make element transparent to query selectors only, and user give the `display: contents` with a user-style, if they want to. But then the user have to give it via `[style]` attribute for every instance, since CSS can't select the element. Maybe it can have a unique CSS selector, let's us select it. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/736#issuecomment-2757287925 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/736/2757287925@github.com>
Received on Thursday, 27 March 2025 09:17:20 UTC