Open Bug 2024121 Opened 1 month ago Updated 1 month ago

drawSnapshot (used in Firefox Screenshot, DevTools screenshot and DevTools color picker) ignores backdrop filter

Categories

(Core :: Graphics, defect, P2)

Firefox 148
x86_64
Windows 10
defect

Tracking

()

People

(Reporter: eyalgruss, Unassigned)

References

Details

Attachments

(1 file)

Attached image image.png

The color grabber is lying and showing lightblue, although the backdrop-filter changed the hue. See attached screenshot

body::after {
  backdrop-filter: hue-rotate(165deg);
  content: '';
  inset: 0;
  position: absolute;
  width: 100%;
}

div {
  background: lightblue;
  height: 300px;
  width: 100%;
}

Minimal code: https://codepen.io/eyaler/pen/RNGgPVM

Thanks for the report eyal, I can easily reproduce.
This also impact taking screenshots in DevTools and in Firefox too (via Take Screenshot context menu entry)

I guess this should be moved to Core::graphics

Summary: color grabber ignores backdrop filter → drawSnapshot (used in Firefox Screenshot, DevTools screenshot and DevTools color picker) ignores backdrop filter

Is this similar to Bug 2017167 ?

Sending to Core::Graphics, sounds like P2 to me, unable to take accurate screenshots if the page is using some CSS properties.

Severity: -- → S3
Component: Inspector → Graphics
Priority: -- → P2
Product: DevTools → Core
See Also: → 2017167
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: