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: | CSS | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/144045558>
Ahmad Saleem
Pull request: https://github.com/WebKit/WebKit/pull/39875
EWS
Committed 290061@main (6c209adee5ff): <https://commits.webkit.org/290061@main>
Reviewed commits have been landed. Closing PR #39875 and removing active labels.