RESOLVED FIXED 198891
[LFC][IFC] Intruding float may prevent adding any inline box
https://bugs.webkit.org/show_bug.cgi?id=198891
Summary [LFC][IFC] Intruding float may prevent adding any inline box
zalan
Reported 2019-06-15 14:35:13 PDT
ssia
Attachments
Patch (12.63 KB, patch)
2019-06-15 14:40 PDT, zalan
koivisto: review+
Radar WebKit Bug Importer
Comment 1 2019-06-15 14:35:34 PDT
zalan
Comment 2 2019-06-15 14:40:37 PDT
Antti Koivisto
Comment 3 2019-06-16 12:09:27 PDT
Comment on attachment 372199 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=372199&action=review > Source/WebCore/layout/LayoutUnits.h:62 > + static Point max() { return Point(LayoutUnit::max(), LayoutUnit::max()); } return { .. } would work I suppose. > Source/WebCore/layout/LayoutUnits.h:64 > void moveBy(LayoutPoint); Not from this patch but moving a Point by a Point is not good semantically. It would be if you had to explicitly turn Point to Size first. This is how IntPoint etc work.
Antti Koivisto
Comment 4 2019-06-16 12:09:56 PDT
*would be better
Antti Koivisto
Comment 5 2019-06-16 12:14:36 PDT
> > Source/WebCore/layout/LayoutUnits.h:64 > > void moveBy(LayoutPoint); > > Not from this patch but moving a Point by a Point is not good semantically. > It would be if you had to explicitly turn Point to Size first. This is how > IntPoint etc work. Well, this is not really true. IntPoint makes difference between move and moveBy where later takes an offset point.
zalan
Comment 6 2019-06-16 13:19:29 PDT
Note You need to log in before you can comment on or make changes to this bug.