WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
243449
[CSS Container Queries] Update query grammar to the spec
https://bugs.webkit.org/show_bug.cgi?id=243449
Summary
[CSS Container Queries] Update query grammar to the spec
Antti Koivisto
Reported
2022-08-02 02:39:31 PDT
The spec was changed to allow logical operators on top level without parenthesis making @container not (foo) legal.
https://drafts.csswg.org/css-contain-3/#container-rule
Attachments
Patch
(43.11 KB, patch)
2022-08-02 03:05 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch
(43.09 KB, patch)
2022-08-02 03:09 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch for landing
(43.08 KB, patch)
2022-08-02 05:57 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch for landing
(43.08 KB, patch)
2022-08-02 05:59 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-08-02 02:42:28 PDT
<
rdar://problem/97967682
>
Antti Koivisto
Comment 2
2022-08-02 03:05:17 PDT
Created
attachment 461354
[details]
Patch
Antti Koivisto
Comment 3
2022-08-02 03:09:36 PDT
Created
attachment 461355
[details]
Patch
Tim Nguyen (:ntim)
Comment 4
2022-08-02 05:45:41 PDT
Comment on
attachment 461355
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=461355&action=review
> Source/WebCore/css/ContainerQueryParser.cpp:98 >
For posterity (and anyone else looking at this patch), the `not` part is handled just below (click expand to make it appear in the diff view).
> Source/WebCore/css/StyleRule.cpp:466 > + , m_containerdQuery(WTFMove(query)) > { > } > > StyleRuleContainer::StyleRuleContainer(const StyleRuleContainer& other) > : StyleRuleGroup(other) > - , m_filteredQuery(other.m_filteredQuery) > + , m_containerdQuery(other.m_containerdQuery)
typo: m_containerdQuery (extra d)
> Source/WebCore/css/StyleRule.h:303 > + CQ::ContainerQuery m_containerdQuery;
ditto in this file
Antti Koivisto
Comment 5
2022-08-02 05:57:01 PDT
Created
attachment 461357
[details]
Patch for landing
EWS
Comment 6
2022-08-02 05:58:25 PDT
Commit message contains (OOPS!), blocking PR #None
Antti Koivisto
Comment 7
2022-08-02 05:59:00 PDT
Created
attachment 461358
[details]
Patch for landing
EWS
Comment 8
2022-08-02 08:33:34 PDT
Committed
253035@main
(2956c932c8f4): <
https://commits.webkit.org/253035@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 461358
[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