WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
225442
will-change: contain should create a containing block and a stacking context
https://bugs.webkit.org/show_bug.cgi?id=225442
Summary
will-change: contain should create a containing block and a stacking context
Tim Nguyen (:ntim)
Reported
2021-05-06 02:29:25 PDT
https://github.com/web-platform-tests/wpt/blob/master/css/css-will-change/will-change-fixpos-cb-contain-1.html
Attachments
Patch
(5.15 KB, patch)
2021-05-16 07:09 PDT
,
Rob Buis
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(5.96 KB, patch)
2021-05-16 08:30 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(6.21 KB, patch)
2021-05-16 12:56 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(5.92 KB, patch)
2021-05-17 04:19 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2021-05-06 02:33:08 PDT
This is possibly already done in
https://bugs.webkit.org/show_bug.cgi?id=224742
but I am fine if this bug covers it (and in fact my change may only be a subset of this bug).
Radar WebKit Bug Importer
Comment 2
2021-05-13 02:30:14 PDT
<
rdar://problem/77958378
>
Tim Nguyen (:ntim)
Comment 3
2021-05-15 13:13:16 PDT
Rob, I'm tentatively assigning this to you. Relevant code is here:
https://webkit-search.igalia.com/webkit/rev/7c76a6e054902182b30fd3ce7f3a08f507dc1f1f/Source/WebCore/rendering/style/WillChangeData.cpp#63-78
Adding the property here will cause it to create a containing block for both position: fixed & position: absolute cases. Please let me know if you have any questions.
Rob Buis
Comment 4
2021-05-16 07:09:43 PDT
Created
attachment 428784
[details]
Patch
Rob Buis
Comment 5
2021-05-16 08:30:45 PDT
Created
attachment 428789
[details]
Patch
Rob Buis
Comment 6
2021-05-16 12:56:54 PDT
Created
attachment 428803
[details]
Patch
Tim Nguyen (:ntim)
Comment 7
2021-05-17 03:02:58 PDT
Comment on
attachment 428803
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=428803&action=review
> Source/WebCore/ChangeLog:3 > + will-change: contain should create a containing block
I think the CSS stacking context change is important to mention in the main message and in LayoutTests/ChangeLog as well.
> LayoutTests/TestExpectations:4926 > +
webkit.org/b/208988
imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https.html [ Skip ]
nit: unrelated change
Tim Nguyen (:ntim)
Comment 8
2021-05-17 03:04:36 PDT
You'll probably need to rebase on top of
bug 225443
btw (sorry for the conflict!).
Rob Buis
Comment 9
2021-05-17 04:19:37 PDT
Created
attachment 428820
[details]
Patch
Rob Buis
Comment 10
2021-05-17 04:58:50 PDT
Comment on
attachment 428803
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=428803&action=review
>> Source/WebCore/ChangeLog:3 >> + will-change: contain should create a containing block > > I think the CSS stacking context change is important to mention in the main message and in LayoutTests/ChangeLog as well.
Done.
>> LayoutTests/TestExpectations:4926 >> +
webkit.org/b/208988
imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https.html [ Skip ] > > nit: unrelated change
This is a vi(m) setting problem that comes up from time to time, I think I figured it out. Done!
EWS
Comment 11
2021-05-17 06:32:36 PDT
Committed
r277580
(
237807@main
): <
https://commits.webkit.org/237807@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 428820
[details]
.
Tim Nguyen (:ntim)
Comment 12
2021-05-17 07:54:25 PDT
(In reply to Rob Buis from
comment #10
)
> Comment on
attachment 428803
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=428803&action=review
> > >> Source/WebCore/ChangeLog:3 > >> + will-change: contain should create a containing block > > > > I think the CSS stacking context change is important to mention in the main message and in LayoutTests/ChangeLog as well. > > Done.
It doesn't matter too much since things are in the details, but that part wasn't done. The main commit message should have been "will-change: contain should create a containing block & a stacking context". Anyway, I'll rename this bug for clarity.
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