[Webkit-unassigned] [Bug 261154] New: To avoid circular dependency, use the intrinsic size of replaced element as width

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 5 06:44:03 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261154

            Bug ID: 261154
           Summary: To avoid circular dependency, use the intrinsic size
                    of replaced element as width
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Hi Team,

While going through Blink's commit, I came across following where we are failing one test.

Test Case: https://jsfiddle.net/vcx7p8kL/show

Blink's Commit: https://chromium.googlesource.com/chromium/src.git/+/e5ade991aba279d218cfe1c4dfd125a9383f8533

WebKit Source: https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderReplaced.cpp#704

___

Locally compiling, it fixes one failing test case:

// We cannot resolve some logical width here (i.e. percent, fill-available or fit-content)
    // as the available logical width may not be set on our containing block.
    const auto logicalWidth = style().logicalWidth();
    if (logicalWidth.isPercentOrCalculated() || logicalWidth.isFillAvailable() || logicalWidth.isFitContent())

____

Just wanted to raise so we can fix it.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230905/3f9803ce/attachment.htm>


More information about the webkit-unassigned mailing list