QWebEngineView: How to change/remove the border color of the drop-down list displayed by <select>?



  • I have an application that uses a QWebEngineView to display an HTML page.
    When I use a <select> in the HTML content, the drop-down list is displayed with a colored border (yellow on Windows, blue on macOS).
    I would like to change this color, or alternatively remove this border.

    I can control the QWebEngineView, HTML content and CSS. However I did not find any solution yet.
    Is there any way to achieve that?

    Steps to reproduce:

    Result: The drop-down list has a 1 pixel colored border. On Windows the color is yellow, on macOS the color is blue.

    Thanks!


Log in to reply