wolframhempel 3 days ago

That's fair, but I assume that is the initial implementation. Surely, over time, browser vendors will want to make the full spectrum of select functionality available consistently.

2
caesil 3 days ago

I don't think browsers will ever let web code affect things outside the viewport because scammers would cook up some truly zany things with that power.

immibis 2 days ago

Even rendering arbitrary pixels inside the viewport is bad enough. Something that went out of fashion but is apparently now back in fashion is detecting the user's operating system and browser, then displaying a pixel-perfect replica of a second browser window open to Paypal and asking you to log in... displayed within the bounds of the first browser window.

afiori 7 minutes ago

This is why the new login prompt of 1Password is worse than the old one, it appears at the center of the screen where the website could easily put a replica. The old one opened at the height of the extension icon, a bit above where the browser opens the alert dialog

dbbk 3 days ago

Definitely not. Why would they let web devs render outside of the browser window? That's a recipe for disaster.

cush 3 days ago

There needs to be some middle ground. I'd trade off just being able to set just the background color and font and keep these native-like features

afiori 12 minutes ago

I think that you can compose arbitrary images that way using an image-like font (using various Unicode chars and assigning to each a small tile of the full image)

Actually I am now curious of how much detail/size/colours/animations you can fit in a single letter.

eurleif 2 days ago

The following works for me in Chrome, and doesn't prevent the menu from going outside of the viewport:

    select, option {
        background: red;
        font-family: 'comic sans ms';
    }

cush 2 days ago

Yeah, it only works in Chrome

maccard 2 days ago

If that's all your changing, then why can't you make do with the system default?