WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
249006
REGRESSION (
251025@main
): Language setting dropdown menu is empty in Rise of the Tomb Raider
https://bugs.webkit.org/show_bug.cgi?id=249006
Summary
REGRESSION (251025@main): Language setting dropdown menu is empty in Rise of ...
alan
Reported
2022-12-08 20:25:54 PST
<
rdar://102032344
>
Attachments
Patch
(6.80 KB, patch)
2022-12-08 21:07 PST
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(6.97 KB, patch)
2022-12-08 21:17 PST
,
alan
no flags
Details
Formatted Diff
Diff
[fast-cq]Patch
(6.77 KB, patch)
2022-12-09 05:59 PST
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
alan
Comment 1
2022-12-08 21:07:18 PST
Created
attachment 463952
[details]
Patch
alan
Comment 2
2022-12-08 21:17:33 PST
Created
attachment 463954
[details]
Patch
Simon Fraser (smfr)
Comment 3
2022-12-08 21:28:07 PST
Comment on
attachment 463954
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=463954&action=review
> Source/WebCore/rendering/RenderObject.cpp:874 > + return ancestorRenderer.effectiveOverflowX() != Overflow::Visible && ancestorRenderer.effectiveOverflowY() != Overflow::Visible;
hasNonVisibleOverflow()?
> LayoutTests/fast/repaint/incorrect-repaint-when-child-layer-overflows.html:42 > + document.body.offsetHeight;
The rendering update should do the layout.
> LayoutTests/fast/repaint/incorrect-repaint-when-child-layer-overflows.html:49 > + wrapper.style.transform = "translateY(0)"; > + contents.style.visibility = "visible";
My preferred way to do this is just `document.body.classList.add('changed')` and then just write style rules to match.
Simon Fraser (smfr)
Comment 4
2022-12-08 21:28:32 PST
Comment on
attachment 463954
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=463954&action=review
> LayoutTests/fast/repaint/incorrect-repaint-when-child-layer-overflows.html:27 > + z-index: -10;
Is the negative z-index needed?
alan
Comment 5
2022-12-09 05:59:51 PST
Created
attachment 463960
[details]
[fast-cq]Patch
alan
Comment 6
2022-12-09 06:07:32 PST
(In reply to Simon Fraser (smfr) from
comment #3
)
> Comment on
attachment 463954
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=463954&action=review
> > > Source/WebCore/rendering/RenderObject.cpp:874 > > + return ancestorRenderer.effectiveOverflowX() != Overflow::Visible && ancestorRenderer.effectiveOverflowY() != Overflow::Visible; > > hasNonVisibleOverflow()?
Oh, the cached bit on the renderer! Yeah, good point (though I find the function name a bit misleading. To me, hasNonVisibleOverflow() on a renderer means actual overflow in layout terms and not in style terms).
> > > LayoutTests/fast/repaint/incorrect-repaint-when-child-layer-overflows.html:42 > > + document.body.offsetHeight; > > The rendering update should do the layout.
cool, removed both calls.
> > > LayoutTests/fast/repaint/incorrect-repaint-when-child-layer-overflows.html:49 > > + wrapper.style.transform = "translateY(0)"; > > + contents.style.visibility = "visible"; > > My preferred way to do this is just `document.body.classList.add('changed')` > and then just write style rules to match.
I like seeing the actual changes in the script, it's easier for me to tell what's going on. I'd prefer to keep it this way unless you feel strongly about it.
>> LayoutTests/fast/repaint/incorrect-repaint-when-child-layer-overflows.html:27 >> + z-index: -10; >Is the negative z-index needed?
Surely not, moved the .ref _before_ the test content.
EWS
Comment 7
2022-12-09 07:50:01 PST
Committed
257627@main
(7ca99fc4ae5f): <
https://commits.webkit.org/257627@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 463960
[details]
.
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