Bug 243242

Summary: [LFC][IFC] Incorrect empty content handling
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description zalan 2022-07-26 20:29:29 PDT
empty before content should generate a zero width/height line box.

        div:before { 
            content: "";
            display: block;
            background: red;
        }
Comment 1 zalan 2022-07-26 20:35:20 PDT
Created attachment 461236 [details]
Patch
Comment 2 zalan 2022-07-26 21:20:03 PDT
Created attachment 461237 [details]
Patch
Comment 3 zalan 2022-07-27 09:04:33 PDT
Created attachment 461248 [details]
Patch
Comment 4 EWS 2022-07-27 11:35:59 PDT
Committed 252872@main (e59fe453982b): <https://commits.webkit.org/252872@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 461248 [details].
Comment 5 Radar WebKit Bug Importer 2022-07-27 11:36:18 PDT
<rdar://problem/97675944>