Bug 286882

Summary: The computed value of float with absolute positioning when there is no box should be "none"
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CSSAssignee: Ahmad Saleem <ahmad.saleem792>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, mtabdark987, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ahmad Saleem
Reported 2025-02-02 07:23:16 PST
Hi Team, Currently, we are failing following WPT: http://wpt.live/css/CSS2/floats/computed-float-position-absolute.html While adding below in StyleAdjuster.cpp (Adjuster::adjust) fixes it: if (style.display() == DisplayType::None && style.position() == PositionType::Absolute) style.setFloating(Float::None); Just raising so we can fix it. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2025-02-02 07:27:35 PST
Ahmad Saleem
Comment 2 2025-02-02 07:34:26 PST
EWS
Comment 3 2025-02-07 16:46:35 PST
Committed 290061@main (6c209adee5ff): <https://commits.webkit.org/290061@main> Reviewed commits have been landed. Closing PR #39875 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.