12018-04-05 Zalan Bujtas <zalan@apple.com>
2
3 [LayoutReloaded] Move floating box to the next line when needed
4 https://bugs.webkit.org/show_bug.cgi?id=184349
5
6 Reviewed by NOBODY (OOPS!).
7
8 * LayoutReloaded/FormattingContext/InlineFormatting/InlineFormattingContext.js:
9 (InlineFormattingContext.prototype.layout):
10 (InlineFormattingContext.prototype._handleContent):
11 (InlineFormattingContext.prototype._handleText):
12 (InlineFormattingContext.prototype._handleFloatingBox):
13 (InlineFormattingContext.prototype._mapFloatingHorizontalPosition):
14 (InlineFormattingContext):
15 (InlineFormattingContext.prototype._handleFloatingBoxes): Deleted.
16 (InlineFormattingContext.prototype._floatingBoxes): Deleted.
17 * LayoutReloaded/FormattingContext/InlineFormatting/Line.js:
18 (Line.prototype.addTextLineBox):
19 (Line.prototype.addFloatingBox):
20 (Line):
21 * LayoutReloaded/Utils.js:
22 (LayoutRect.prototype.moveHorizontally):
23 (LayoutRect.prototype.moveVertically):
24 * LayoutReloaded/test/index.html:
25 * LayoutReloaded/test/inline-with-floats-when-they-dont-fit.html: Added.
26