WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
107570
[CSS Exclusions] Add firstIncludedIntervalLogicalTop special case optimization.
https://bugs.webkit.org/show_bug.cgi?id=107570
Summary
[CSS Exclusions] Add firstIncludedIntervalLogicalTop special case optimization.
Hans Muller
Reported
2013-01-22 10:55:14 PST
In many cases a simple check of the first fit locations at the intersection between the polygon and the horizontal lines at minLogicalIntervalTop and minLogicalIntervalTop + minLogicalIntervalSize.height() will yield the optimal first fit location. This is a relatively cheap test and should be done before creating offset edges, etc.
Attachments
Add attachment
proposed patch, testcase, etc.
Hans Muller
Comment 1
2013-02-21 10:12:35 PST
This already happens as a consequence of the layout logic. RenderBlock::layoutRunsAndFloatsInRange() attempts to layout the line at the nominal logicalTop location and then, if nothing fits at that location it uses adjustLogicalLineTop() to compute the "first fit" location and restartLayoutRunsAndFloatsInRange() to get the layout going again, with the new logicalTop.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug