Created attachment 375114 [details] [TEST] Reduction Test Page Text Selection rects visibly missing when selecting all with text in flex items Test: <style> .wrapper { border: 1px solid black; display: flex; justify-content: space-evenly; } </style> <div class="wrapper"> <div><p>1</p><p>text</p></div> <div><p>2</p><p>text</p></div> <div><p>3</p><p>text</p></div> <div><p>4</p><p>text</p></div> </div> Steps to Reproduce: 1. Load test page 2. Edit > Select All (⌘A) => The "2", "3", and "4" do not look selected, but actually are if you Copy + Paste
Created attachment 375115 [details] [IMAGE] Issue
<rdar://problem/53683569>
This is still reproducible. Here's a Stack Overflow question asking about this behavior: https://stackoverflow.com/questions/67637825/text-selection-background-becoming-invisible-in-safari-when-selecting-inside-fle/68527335
It seems to be duplicate of Bug 119878. Should we keep one while close other? Considering it is mentioned on StackOverflow and I think closing old one makes more sense. Thanks!
Just for a note - I just did "Pull Request" for other bug and also extended it to "Grid Item" to fix both issues in one go. We can close this bug once other one land and committed to "main". Just wanted to keep everyone update.
*** This bug has been marked as a duplicate of bug 119878 ***