Bug 212310 - "f" is clipped on http://hellohappy.org/beautiful-web-type/
Summary: "f" is clipped on http://hellohappy.org/beautiful-web-type/
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-23 21:25 PDT by Jon Lee
Modified: 2020-05-25 14:34 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Lee 2020-05-23 21:25:39 PDT
Go to http://hellohappy.org/beautiful-web-type/; I was on a build based on r262029.

Scroll to the section that says "Edward Tufte"

Pay attention to the "f" in Tufte.

1. Click anywhere on "Edward Tufte"-- the "f" gets clipped. (I don't see this in Chrome)
2. Select "Edward Tufte"-- the selection rects are very strange. (I see this in Chrome also)

If you include the paragraph in the selection below, the terminal on the "f" gets restored.
Comment 1 Jon Lee 2020-05-23 21:27:09 PDT
Disabling simple line layout, or Always using the complex text code path doesn't fix this. (also, why do we have two menu items?)
Comment 2 zalan 2020-05-23 22:11:22 PDT
(In reply to Jon Lee from comment #1)
> Disabling simple line layout, or Always using the complex text code path
> doesn't fix this. (also, why do we have two menu items?)
They mean 2 different things. Simple line layout is a fast path for inline _layout_ while complex text code path is about text and font handling in general (complex/simple line layout calls into complex/simple text code path for text measuring etc).
Comment 3 zalan 2020-05-23 22:13:21 PDT
This might be a glyph overflow issue.
Comment 4 Alexey Proskuryakov 2020-05-25 14:34:54 PDT
> 1. Click anywhere on "Edward Tufte"-- the "f" gets clipped. (I don't see this in Chrome)
> 
> If you include the paragraph in the selection below, the terminal on the "f" gets restored.

I see the opposite with shipping Safari and STP 105 - this text renders correctly initially and when clicked, but the "f" gets clipped when I make a multi-line selection.