LineBox can either be logical or physical.
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.