WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
241225
[CSS Container Queries] Re-evaluate queries after subframe size changes
https://bugs.webkit.org/show_bug.cgi?id=241225
Summary
[CSS Container Queries] Re-evaluate queries after subframe size changes
Antti Koivisto
Reported
2022-06-02 06:16:13 PDT
We fail to update on frame size change.
Attachments
Patch
(12.12 KB, patch)
2022-06-02 06:24 PDT
,
Antti Koivisto
koivisto
: commit-queue+
Details
Formatted Diff
Diff
Patch
(12.39 KB, patch)
2022-06-02 09:08 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch for landing
(12.40 KB, patch)
2022-06-02 09:12 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch
(12.33 KB, patch)
2022-06-02 09:36 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch
(11.47 KB, patch)
2022-06-02 09:50 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch for landing
(11.47 KB, patch)
2022-06-03 01:45 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2022-06-02 06:24:13 PDT
Created
attachment 459959
[details]
Patch
zalan
Comment 2
2022-06-02 09:01:23 PDT
Comment on
attachment 459959
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=459959&action=review
> Source/WebCore/page/FrameViewLayoutContext.h:58 > + void layoutWithoutUpdatingQueryContainers();
I assume we are not planning on introducing too many new layout() callsites, so in practice having these 2 functions and deciding "which one to call when" won't cause any issues -but in theory it may be a bit puzzling which one to actually use. I guess if you don't know whether you need query containers, it's better to just use layout().
Antti Koivisto
Comment 3
2022-06-02 09:03:40 PDT
> I assume we are not planning on introducing too many new layout() callsites, > so in practice having these 2 functions and deciding "which one to call > when" won't cause any issues -but in theory it may be a bit puzzling which > one to actually use. I guess if you don't know whether you need query > containers, it's better to just use layout().
The idea is to just use layout() except in container query related code (there is one other call site for some stupid reasons).
Antti Koivisto
Comment 4
2022-06-02 09:08:04 PDT
Created
attachment 459962
[details]
Patch
Antti Koivisto
Comment 5
2022-06-02 09:12:38 PDT
Created
attachment 459963
[details]
Patch for landing
Antti Koivisto
Comment 6
2022-06-02 09:36:14 PDT
Created
attachment 459964
[details]
Patch
Antti Koivisto
Comment 7
2022-06-02 09:50:43 PDT
Created
attachment 459965
[details]
Patch
Antti Koivisto
Comment 8
2022-06-03 01:45:06 PDT
Created
attachment 460005
[details]
Patch for landing
EWS
Comment 9
2022-06-03 02:54:45 PDT
Committed
r295200
(
251257@main
): <
https://commits.webkit.org/251257@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 460005
[details]
.
Radar WebKit Bug Importer
Comment 10
2022-06-03 02:55:14 PDT
<
rdar://problem/94337695
>
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