Steps to replicate the issue (include links if applicable):
- Go to https://en.wikipedia.org/wiki/Special:Blankpage?useskin=vector-2022
- Run in the console:
await mw.loader.using(['mediawiki.widgets']); const input = new mw.widgets.TitleInputWidget(); $('#mw-content-text').append(input.$element);
- Type "." in the input.
What happens?:
Red border, blue box-shadow
What should have happened instead?:
Red border, red box-shadow
Other information (browser name/version, screenshots, etc.):
I believe it was all red before some changes. I think the reason is that --box-shadow-color-destructive--focus became blue.
Night mode is also affected.
P.S. The fact that "." shows no dropdown is another bug ("." is an invalid title, but a valid prefix for prefixsearch). The promise is rejected here.
P.P.S. Created T377375 for this one.


