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: NEW
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: 2021-07-26 13:11 PDT (History)
7 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