Bug 251709
| Summary: | `TextIndicator` does not support text-only snapshots when the selection is empty | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Aditya Keerthi <akeerthi> |
| Component: | New Bugs | Assignee: | Aditya Keerthi <akeerthi> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 19127 | ||
Aditya Keerthi
When using Find in Page to search for text inside a "-webkit-user-select: none" node, the matched text is not highlighted.
This is because `TextIndicator` relies on the current selection for painting, which is empty for nodes that cannot be selected. To fix, we could teach TextIndicator to snapshot only foreground content if the selection is empty.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105288221>