Comments on: Relatively New Things You Should Know about HTML Heading Into 2025 https://frontendmasters.com/blog/bone-up-html-2025/ Helping Your Journey to Senior Developer Thu, 13 Mar 2025 18:48:38 +0000 hourly 1 https://wordpress.org/?v=6.9 By: Colum https://frontendmasters.com/blog/bone-up-html-2025/#comment-23567 Thu, 13 Mar 2025 18:48:38 +0000 https://frontendmasters.com/blog/?p=4732#comment-23567 In reply to Matt L.

You can use
[popover], ::backdrop {
transition:
display 200ms allow-discrete
}

]]>
By: Chris Coyier https://frontendmasters.com/blog/bone-up-html-2025/#comment-19501 Wed, 15 Jan 2025 15:31:59 +0000 https://frontendmasters.com/blog/?p=4732#comment-19501 In reply to Sonia.

That’s true. In my mind browsing a site’s navigation shouldn’t be focus trapping, but if you absolutely need that perhaps a dialog is better suited.

]]>
By: Sonia https://frontendmasters.com/blog/bone-up-html-2025/#comment-19480 Wed, 15 Jan 2025 09:04:06 +0000 https://frontendmasters.com/blog/?p=4732#comment-19480 In reply to Chris Coyier.

Popover doesn’t trap the focus and it doesn’t close when the focus leave the popover when using the keyboard.

]]>
By: Omar https://frontendmasters.com/blog/bone-up-html-2025/#comment-19458 Tue, 14 Jan 2025 21:36:20 +0000 https://frontendmasters.com/blog/?p=4732#comment-19458 I just want to play sounds when you mouse over the menu items xD

]]>
By: Nathan Knowler https://frontendmasters.com/blog/bone-up-html-2025/#comment-19456 Tue, 14 Jan 2025 20:47:38 +0000 https://frontendmasters.com/blog/?p=4732#comment-19456 In reply to Tomasz TS Sobolewski.

This feature isn’t available in Safari or Firefox yet. I was able to create a polyfill for Firefox which I wrote about here if you’re interested: https://knowler.dev/blog/polyfilling-hidden-until-found

I don’t think the polyfill is really worth using though.

]]>
By: Chris Coyier https://frontendmasters.com/blog/bone-up-html-2025/#comment-19389 Mon, 13 Jan 2025 18:27:09 +0000 https://frontendmasters.com/blog/?p=4732#comment-19389 In reply to Matt L.

I had a poke a while ago and couldn’t get the closing ones right. I have gotten it to work for dialogs https://frontendmasters.com/blog/the-dialog-element-with-entry-and-exit-animations/ but not popovers yet. I suspect there is a way though.

]]>
By: Matt L https://frontendmasters.com/blog/bone-up-html-2025/#comment-19382 Mon, 13 Jan 2025 17:20:54 +0000 https://frontendmasters.com/blog/?p=4732#comment-19382 Is there a simple way to animate the close of the popover? It seems like a very useful thing to take advantage of ASAP.

Thanks for the great post,

]]>
By: Tomasz TS Sobolewski https://frontendmasters.com/blog/bone-up-html-2025/#comment-19268 Sat, 11 Jan 2025 13:08:30 +0000 https://frontendmasters.com/blog/?p=4732#comment-19268 In reply to Nathan Knowler.

Seems to be working only in Chrome for now, Safari and Firefox are not finding the words properly. Good feature though!

]]>
By: Rauen https://frontendmasters.com/blog/bone-up-html-2025/#comment-19259 Sat, 11 Jan 2025 08:00:39 +0000 https://frontendmasters.com/blog/?p=4732#comment-19259 I hate to be pedantic but

a line like this isn’t standard JavaScript

is not technically correct. It is perfectly fine, standards-compliant JavaScript.

Before import maps, it would be an erroneous import in a browser, but other JS runtimes are free to determine its meaning (as Node, Deno, etc. did).

]]>
By: BigAB https://frontendmasters.com/blog/bone-up-html-2025/#comment-19088 Wed, 08 Jan 2025 20:07:32 +0000 https://frontendmasters.com/blog/?p=4732#comment-19088

Just kidding they totally aren’t.

Joy excitedly rising only a split second later to be dashed upon the rocks of disappointment.

]]>