WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
191801
[LFC][IFC] InlineFormattingState::addDetachingRule should accumulate rules.
https://bugs.webkit.org/show_bug.cgi?id=191801
Summary
[LFC][IFC] InlineFormattingState::addDetachingRule should accumulate rules.
alan
Reported
2018-11-16 21:17:11 PST
instead of overwriting the old ones.
Attachments
Patch
(8.22 KB, patch)
2018-11-16 21:46 PST
,
alan
koivisto
: review+
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews203 for win-future
(12.80 MB, application/zip)
2018-11-17 00:57 PST
,
EWS Watchlist
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
alan
Comment 1
2018-11-16 21:46:29 PST
Created
attachment 355180
[details]
Patch
EWS Watchlist
Comment 2
2018-11-17 00:57:45 PST
Comment on
attachment 355180
[details]
Patch
Attachment 355180
[details]
did not pass win-ews (win): Output:
https://webkit-queues.webkit.org/results/10031591
New failing tests: fast/inline/simple-inline-with-out-of-flow-descendant2.html
EWS Watchlist
Comment 3
2018-11-17 00:57:56 PST
Created
attachment 355190
[details]
Archive of layout-test-results from ews203 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews203 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Antti Koivisto
Comment 4
2018-11-17 06:57:08 PST
Comment on
attachment 355180
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=355180&action=review
> Source/WebCore/layout/inlineformatting/InlineFormattingState.cpp:58 > + auto result = m_detachingRules.add(&layoutBox, detachingRule); > + if (result.isNewEntry) > + return; > + result.iterator->value.add(detachingRule);
m_detachingRules.add(&layoutBox, { }).iterator->value.add(detachingRule); is probably equivalent and bit more compact?
> Source/WebCore/layout/inlineformatting/InlineFormattingState.h:77 > + void setDetachingRules(const Box& layoutBox, DetachingRules detachingRules) { m_detachingRules.set(&layoutBox, detachingRules); }
Not from this patch but most OptionSet sites don't have type alias but simply write out the whole thing. 'OptionSet<DetachingRule>' is a less mysterious type than 'DetachingRules'.
alan
Comment 5
2018-11-17 08:11:31 PST
Committed
r238349
: <
https://trac.webkit.org/changeset/238349
>
Radar WebKit Bug Importer
Comment 6
2018-11-17 08:12:36 PST
<
rdar://problem/46150548
>
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