Created attachment 381120 [details] [Image] Screenshot of Issue # STEPS TO REPRODUCE: 1. inspect any page with a shadow tree 2. select a node in the Elements Tab inside a shadow tree => the blue selection area is colored by the grey background color of the shadow tree
Created attachment 381122 [details] Patch
Comment on attachment 381122 [details] Patch rs=me
Comment on attachment 381122 [details] Patch Clearing flags on attachment: 381122 Committed r251254: <https://trac.webkit.org/changeset/251254>
All reviewed patches have been landed. Closing bug.
<rdar://problem/56382732>
(In reply to Devin Rousso from comment #0) > Created attachment 381120 [details] > [Image] Screenshot of Issue > > # STEPS TO REPRODUCE: > 1. inspect any page with a shadow tree When does shadow DOM look like this? I've been looking real-world example to understand the broader picture. YouTube.com, for instance, uses Web Components but it has barely any Shadow content nested like this. I'm not convinced semi-transparent background of *each* shadow content is the way best way to display this.
One example is <https://perf.webkit.org/v3/#/analysis/task/2>. If you have an alternate design/visualization, I'm all ears :)