Bug 200251 - Text Selection rects visibly missing when selecting all with text in flex items
Summary: Text Selection rects visibly missing when selecting all with text in flex items
Status: RESOLVED DUPLICATE of bug 119878
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-07-29 15:51 PDT by Joseph Pecoraro
Modified: 2022-09-17 23:46 PDT (History)
8 users (show)

See Also:


Attachments
[TEST] Reduction Test Page (282 bytes, text/html)
2019-07-29 15:51 PDT, Joseph Pecoraro
no flags Details
[IMAGE] Issue (254.40 KB, image/png)
2019-07-29 15:51 PDT, Joseph Pecoraro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2019-07-29 15:51:04 PDT
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
Comment 1 Joseph Pecoraro 2019-07-29 15:51:23 PDT
Created attachment 375115 [details]
[IMAGE] Issue
Comment 2 Radar WebKit Bug Importer 2019-07-29 15:51:57 PDT
<rdar://problem/53683569>
Comment 3 Jake Teton-Landis 2021-07-26 13:11:27 PDT
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
Comment 4 Ahmad Saleem 2022-09-17 06:49:32 PDT
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!
Comment 5 Ahmad Saleem 2022-09-17 07:38:08 PDT
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.
Comment 6 Ahmad Saleem 2022-09-17 23:46:31 PDT

*** This bug has been marked as a duplicate of bug 119878 ***