WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207937
[LFC][Floats] FloatingContext::constraints should be able to handle empty candidate ranges (points)
https://bugs.webkit.org/show_bug.cgi?id=207937
Summary
[LFC][Floats] FloatingContext::constraints should be able to handle empty can...
zalan
Reported
2020-02-19 08:25:11 PST
when the candidate range is empty.
Attachments
Patch
(8.70 KB, patch)
2020-02-19 08:30 PST
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(8.70 KB, patch)
2020-02-19 09:40 PST
,
zalan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-02-19 08:25:52 PST
<
rdar://problem/59591109
>
zalan
Comment 2
2020-02-19 08:30:32 PST
Created
attachment 391165
[details]
Patch
Antti Koivisto
Comment 3
2020-02-19 08:46:11 PST
Comment on
attachment 391165
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=391165&action=review
> Source/WebCore/layout/floats/FloatingContext.cpp:308 > + return floatBoxRect.top() <= adjustedCandidateTop && floatBoxRect.bottom() > adjustedCandidateTop; > + return !(floatBoxRect.top() >= adjustedCandidateBottom || floatBoxRect.bottom() <= adjustedCandidateTop);
The difference between these would be clearer if the logic was the same way round (that is no !)
zalan
Comment 4
2020-02-19 08:51:58 PST
(In reply to Antti Koivisto from
comment #3
)
> Comment on
attachment 391165
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=391165&action=review
> > > Source/WebCore/layout/floats/FloatingContext.cpp:308 > > + return floatBoxRect.top() <= adjustedCandidateTop && floatBoxRect.bottom() > adjustedCandidateTop; > > + return !(floatBoxRect.top() >= adjustedCandidateBottom || floatBoxRect.bottom() <= adjustedCandidateTop); > > The difference between these would be clearer if the logic was the same way > round (that is no !)
sure.
zalan
Comment 5
2020-02-19 09:40:00 PST
Created
attachment 391173
[details]
Patch
WebKit Commit Bot
Comment 6
2020-02-19 11:30:25 PST
Comment on
attachment 391173
[details]
Patch Clearing flags on attachment: 391173 Committed
r256928
: <
https://trac.webkit.org/changeset/256928
>
WebKit Commit Bot
Comment 7
2020-02-19 11:30:27 PST
All reviewed patches have been landed. Closing bug.
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