WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
274011
Fix RenderTreeBuilder::move() to clear percent height map
https://bugs.webkit.org/show_bug.cgi?id=274011
Summary
Fix RenderTreeBuilder::move() to clear percent height map
Ahmad Saleem
Reported
2024-05-10 12:59:00 PDT
Hi Team, While looking into old Blink's commit, I came across another failing test case: Test Case -
https://jsfiddle.net/nqt0g1yz/
^ Does not show 'blue' box in Safari / WebKit ToT while does show in Chrome Canary 126 and Firefox Nightly 127. Blink Commit -
https://chromium.googlesource.com/chromium/src.git/+/7afb0474da50c93fa2360fc70ccbb73a313a45f7
WebKit Source:
https://searchfox.org/wubkat/rev/5169139ac1127c419017b37d9f2106a2c199070f/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp#489
,
https://searchfox.org/wubkat/rev/5169139ac1127c419017b37d9f2106a2c199070f/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp#545
and
https://searchfox.org/wubkat/rev/5169139ac1127c419017b37d9f2106a2c199070f/Source/WebCore/rendering/RenderBlock.cpp#832
___ I did following changes and it compiles and progress following:
> RenderTreeBuilder::move()
if (normalizeAfterInsertion == NormalizeAfterInsertion::Yes && is<RenderBlock>(from) && child.isRenderBox()) RenderBlock::removePercentHeightDescendantIfNeeded(downcast<RenderBox>(child)); and
> RenderTreeBuilder::moveChildren() - Line 549
RenderBlock::removePercentHeightDescendantIfNeeded(*blockFlow); and RenderBlock::dirtyForLayoutFromPercentageHeightDescendants() ASSERT(renderer->isDescendantOf(this)); ___ Just raising so we can fix it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-05-17 12:59:15 PDT
<
rdar://problem/128289804
>
Ahmad Saleem
Comment 2
2024-08-12 14:35:01 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32064
EWS
Comment 3
2024-08-13 02:39:27 PDT
Committed
282160@main
(1223895a9c1b): <
https://commits.webkit.org/282160@main
> Reviewed commits have been landed. Closing PR #32064 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug