argv[-1] on Nostr: So, the new Popover API in #HTML is pretty cool, except for one…rather serious ...
So, the new Popover API in #HTML is pretty cool, except for one…rather serious problem: #CSS `position:static` can't be applied to a popover element!
That's a Problem™ because, if you want to *print* the page including popover content, well, you can't. The popover will still pop over, even in print where you can't scroll around it! (Swiping on a piece of paper doesn't do anything except maybe hurt your finger.)
So…that's annoying.
#webdev
Published at
2026-11-23 22:16:48 UTCEvent JSON
{
"id": "4edfc1b168dadbf0beb484c7495fec190fccd7454c7daebe0359e2c662dbef1a",
"pubkey": "b6896eb9b8b9263a82e2b76aeb440193ca878556460236d48a7ed039fcc6df30",
"created_at": 1795472208,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.sdf.org/@argv_minus_one/117668066667603659",
"web"
],
[
"t",
"css"
],
[
"t",
"webdev"
],
[
"t",
"html"
],
[
"proxy",
"https://mastodon.sdf.org/users/argv_minus_one/statuses/117668066667603659",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.sdf.org/users/argv_minus_one/statuses/117668066667603659",
"pink.momostr"
],
[
"-"
]
],
"content": "So, the new Popover API in #HTML is pretty cool, except for one…rather serious problem: #CSS `position:static` can't be applied to a popover element!\n\nThat's a Problem™ because, if you want to *print* the page including popover content, well, you can't. The popover will still pop over, even in print where you can't scroll around it! (Swiping on a piece of paper doesn't do anything except maybe hurt your finger.)\n\nSo…that's annoying.\n\n#webdev",
"sig": "6daee5b6db8a4866aa5925c2820bfadfa8fb0acdcc7df658b28cc903562297177e860f7aca2ee896f2802960343be66a4d20477ea1f86ce1fd2c698f8622e0e7"
}