Luke Warlow
Luke Warlow
Want to add a +1 to this idea. Every time I've ever implemented modal dialogs I've had to add JavaScript to add overflow: hidden to the html element when open...
You can use scrollbar-gutter: stable to prevent the layout shift.
> u can fix this scrolling with the following CSS in the global CSS file: body:has(dialog[open]) { overflow: hidden; scrollbar-gutter: stable; } Something that came up from a discussion on...
> We'll want to ensure https://github.com/w3c/webappsec-csp/pull/650 is merged around the same time. I'm not sure who has permissions to do that. I guess we should wait for at least PR...
Rebased and fixed merge conflict
Fwiw this would also trigger for keyboard focus as currently proposed, so isn't just - hover on "desktop" platforms.
https://pptr.dev/api/puppeteer.page.content this function in puppeteer is effectively doing what getHTML() would do. It's using the XML serialiser for doctype + documentElement.outerHTML so swapping it to use this new getHTML() function...
> We should make this work for custom element submit buttons, which don't exist yet: https://github.com/WICG/webcomponents/issues/814. And maybe there should be a way to say that a custom element is...
If we ever added https://github.com/whatwg/html/issues/10164 then this mechanism wouldn't be enough to actually differentiate close watchers Vs others? Having said that I think the idea of sending the events but...
I had a think on this and it dawned on me that this is currently the only way to do cross root anchoring (other than exposing a part and setting...