Bug 243242 - [LFC][IFC] Incorrect empty content handling
Summary: [LFC][IFC] Incorrect empty content handling
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: 2022-07-26 20:29 PDT by zalan
Modified: 2022-07-27 11:36 PDT (History)
5 users (show)

See Also:


Attachments
Patch (10.09 KB, patch)
2022-07-26 20:35 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (9.13 KB, patch)
2022-07-26 21:20 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (9.21 KB, patch)
2022-07-27 09:04 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>