Bug 185032 - [LFC] Formatting contexts should create floating states.
Summary: [LFC] Formatting contexts should create floating states.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-04-26 09:37 PDT by zalan
Modified: 2018-04-27 08:55 PDT (History)
7 users (show)

See Also:


Attachments
Patch (21.00 KB, patch)
2018-04-26 09:50 PDT, zalan
koivisto: review+
ews-watchlist: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews205 for win-future (12.56 MB, application/zip)
2018-04-26 18:58 PDT, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2018-04-26 09:37:01 PDT
They know what to do.
Comment 1 zalan 2018-04-26 09:50:58 PDT
Created attachment 338881 [details]
Patch
Comment 2 EWS Watchlist 2018-04-26 18:57:58 PDT
Comment on attachment 338881 [details]
Patch

Attachment 338881 [details] did not pass win-ews (win):
Output: http://webkit-queues.webkit.org/results/7474820

New failing tests:
http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-audio.html
Comment 3 EWS Watchlist 2018-04-26 18:58:09 PDT
Created attachment 338950 [details]
Archive of layout-test-results from ews205 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews205  Port: win-future  Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment 4 zalan 2018-04-26 19:09:42 PDT
(In reply to Build Bot from comment #2)
> Comment on attachment 338881 [details]
> Patch
> 
> Attachment 338881 [details] did not pass win-ews (win):
> Output: http://webkit-queues.webkit.org/results/7474820
> 
> New failing tests:
> http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-audio.html
Not possible!
Comment 5 Antti Koivisto 2018-04-27 05:47:30 PDT
Comment on attachment 338881 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=338881&action=review

> Source/WebCore/layout/layouttree/LayoutBox.cpp:140
> +    // Initial containing block always establishes a formatting context.
> +    ASSERT_NOT_REACHED();
> +    return nullptr;

Could this return Container& instead of *?
Comment 6 zalan 2018-04-27 08:40:23 PDT
Committed r231096: <https://trac.webkit.org/changeset/231096>
Comment 7 Radar WebKit Bug Importer 2018-04-27 08:42:09 PDT
<rdar://problem/39792980>
Comment 8 zalan 2018-04-27 08:55:17 PDT
(In reply to Antti Koivisto from comment #5)
> Comment on attachment 338881 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=338881&action=review
> 
> > Source/WebCore/layout/layouttree/LayoutBox.cpp:140
> > +    // Initial containing block always establishes a formatting context.
> > +    ASSERT_NOT_REACHED();
> > +    return nullptr;
> 
> Could this return Container& instead of *?
Good point!