oxalorg/sakura

Disabled buttons are not displayed correctly

Opened this issue · 0 comments

It used to look like this ( before 3b8050f )

Firefox Chromium
image image

After that the disabled buttons don't appear correctly

Firefox Chromium
image image

The problem seems to be on the file input

/* currently it's like this */
input[type=file]::file-selector-button[disabled]

/* it should probably be */
input[type=file][disabled]

/* or */
input[type=file][disabled]::file-selector-button

A similar thing seems to be happening with the :focus-visible pseudo-class, but :hover is working