| Summary: | [LFC][IFC] Display::LineBox has one type of geometry only. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, zalan | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 215087 | ||||||
| Attachments: |
|
||||||
|
Description
zalan
2020-01-26 17:41:52 PST
Created attachment 388819 [details]
Patch
Comment on attachment 388819 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388819&action=review > Source/WebCore/ChangeLog:8 > + It can either represent a logical line box (during layout) or a physical one (during paint/hittest). This doesn't feel right. Shouldn't we have separate classes for these cases? (In reply to Antti Koivisto from comment #2) > Comment on attachment 388819 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=388819&action=review > > > Source/WebCore/ChangeLog:8 > > + It can either represent a logical line box (during layout) or a physical one (during paint/hittest). > > This doesn't feel right. Shouldn't we have separate classes for these cases? Yes, that would be cleaner and more inline with what we do with runs. It also implies that we should do something similar with Display::InlineRect/Rect too. |