Skip to content

Color-scheme break element picker (dark dense fog) #2062

Closed
@krystian3w

Description

@krystian3w

Prerequisites

I tried to reproduce the issue when...

  • uBO is the only extension
  • uBO with default lists/settings
  • using a new, unmodified browser profile

Description

New css color-scheme:dark (gorhill/uBlock@b4774c4 / https://github.com/gorhill/uBlock/blob/35866be22464d284e5bbaa553d6449bf144c5245/src/css/themes/default.css#L301-L302) for :root.dark element break embeded iframe on Chromium.

https://user-images.githubusercontent.com/35370833/159540378-8fc85abf-7e71-42fd-8b7c-65ae6b6e3950.png


Maybe reported directly in chromium bug tracker - no checked too github discussions or oldie topic about dark theme to found this glitch (only 40 issues who are open or closed in that year).

Maybe guilty is Intel driver for integrated graphic card.

Then leave open for only other lazy users.

A specific URL where the issue occurs

example.org

Steps to Reproduce

  1. use lastest dev uBO in Chromium Browser
  2. try enable dark mode
  3. try block something with element picker
  4. page now will dark with rare red square/rectange

Expected behavior

Possible view page without dark fog

Actual behavior

Dark fog due chromium enforce dark background for html in element.

uBlock Origin version

1.41.9b3

Browser name and version

Chrome 99 / Edge 99

Operating System and version

Windows 7 and Windows 10

no have GNU/Linux, macOS or Windows 11 (or legacy Windows 8 / 8.1) to more vide test

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions