Created attachment 465717 [details] Dark Mode with Smart Invert on iPhone - Inline Style of Invert 100 inserted Summary: Viewing the Apple Accessories Landing Page on Mobile Safari, Dark Mode and Smart Invert Colors active. When the Invert Colors Filter is disabled in CSS, there is an inline Style inserted for the image, creating a triple invert scenario and the text overlayed on the image is presented with insufficient contrast. Inline Style: style="filter: invert(100%);" URL: https://www.apple.com/shop/accessories/all Steps: 1. on iPhone, visit URL 2. Activate Smart Invert Colors 3. Notice the image is displayed in X-Ray mode (Classic Invert) which is intentional 4. Activate Dark Mode, refresh the page 5. Notice the image is displayed as the original color, no Classic Inver/X-ray 6. Notice the HTML shows an inline style of Invert 100%
Created attachment 465718 [details] Dark Mode inactive, Smart Invert Active, CSS Invert Filter Disabled, Expected
Created attachment 465719 [details] HTML, Dark Mode and Smart Invert Active, Inline Style inserted
AOS bug, not WebKit
<rdar://problem/107496470>