| Summary: | Hairline on selection | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ebrahim Byagowi <ebrahim> | ||||||||
| Component: | Text | Assignee: | zalan <zalan> | ||||||||
| Status: | NEW --- | ||||||||||
| Severity: | Normal | CC: | mmaxfield, webkit-bug-importer, zalan | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | Safari 16 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Ebrahim Byagowi
2023-06-25 19:03:05 PDT
interesting, this seems to be caused by negative word-spacing. Thank you for filing it! Created attachment 466825 [details]
test reduction
Created attachment 466826 [details]
test reduction
Thanks for the quick response 😊 There is also a horizontal gap on selection on the second paragraph, maybe that can be interesting on a separate matter as it isn't related to white-space. Please ignore my previous comment as it's a spin off of the main issue here which now it's filed as Bug 258584 (In reply to Ebrahim Byagowi from comment #5) > Please ignore my previous comment as it's a spin off of the main issue here > which now it's filed as Bug 258584 Thank you! For simple cases (like this one) we should be able to merge adjacent display boxes so that painting code sees them as one run, but in general we should teach TextBoxPainter to paint selection across runs. |