Skip to content

Commit b3d7e08

Browse files
committed
Roll protocol to r1627472
1 parent 6e7b094 commit b3d7e08

9 files changed

Lines changed: 145 additions & 32 deletions

changelog.md

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,53 @@
11

22

3+
## Roll protocol to r1627472 — _2026-05-08T05:18:19.000Z_
4+
###### Diff: [`6e7b094...d1c3afc`](https://github.com/ChromeDevTools/devtools-protocol/compare/6e7b094...d1c3afc)
5+
6+
```diff
7+
@@ domains/CSS.pdl:338 @@ experimental domain CSS
8+
experimental type CSSContainerQuery extends object
9+
properties
10+
# Container query text.
11+
- string text
12+
+ # Contains the query part without the container name for a single query.
13+
+ # Deprecated in favor of conditionText which contains the full prelude
14+
+ # after @container.
15+
+ deprecated string text
16+
# The associated rule header range in the enclosing stylesheet (if
17+
# available).
18+
optional SourceRange range
19+
@@ -354,6 +357,8 @@ experimental domain CSS
20+
optional boolean queriesScrollState
21+
# true if the query contains anchored() queries.
22+
optional boolean queriesAnchored
23+
+ # CSSContainerRule.conditionText
24+
+ string conditionText
25+
26+
# CSS Supports at-rule descriptor.
27+
experimental type CSSSupports extends object
28+
@@ -927,7 +932,17 @@ experimental domain CSS
29+
CSSMedia media
30+
31+
# Modifies the expression of a container query.
32+
- experimental command setContainerQueryText
33+
+ # Deprecated. Use setContainerQueryConditionText instead.
34+
+ experimental deprecated command setContainerQueryText
35+
+ parameters
36+
+ DOM.StyleSheetId styleSheetId
37+
+ SourceRange range
38+
+ string text
39+
+ returns
40+
+ # The resulting CSS container query rule after modification.
41+
+ CSSContainerQuery containerQuery
42+
+
43+
+ experimental command setContainerQueryConditionText
44+
parameters
45+
DOM.StyleSheetId styleSheetId
46+
SourceRange range
47+
```
48+
349
## Roll protocol to r1625959 — _2026-05-06T05:34:33.000Z_
4-
###### Diff: [`8feb4e1...1f60c69`](https://github.com/ChromeDevTools/devtools-protocol/compare/8feb4e1...1f60c69)
50+
###### Diff: [`8feb4e1...6e7b094`](https://github.com/ChromeDevTools/devtools-protocol/compare/8feb4e1...6e7b094)
551

652
```diff
753
@@ domains/CSS.pdl:523 @@ experimental domain CSS
@@ -42900,28 +42946,4 @@ index 4754f17c..8dad9c98 100644
4290042946

4290142947
# Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
4290242948
experimental command setAcceptedEncodings
42903-
```
42904-
42905-
## Roll protocol to r1168520 — _2023-07-11T04:28:09.000Z_
42906-
###### Diff: [`8b56da5...863ba3f`](https://github.com/ChromeDevTools/devtools-protocol/compare/8b56da5...863ba3f)
42907-
42908-
```diff
42909-
@@ browser_protocol.pdl:697 @@ experimental domain Audits
42910-
InvalidRegisterOsTriggerHeader
42911-
WebAndOsHeaders
42912-
NoWebOrOsSupport
42913-
+ NavigationRegistrationWithoutTransientUserActivation
42914-
42915-
# Details for issues around "Attribution Reporting API" usage.
42916-
# Explainer: https://github.com/WICG/attribution-reporting-api
42917-
@@ -4586,6 +4587,9 @@ domain Input
42918-
# Time at which the event occurred.
42919-
optional TimeSinceEpoch timestamp
42920-
42921-
+ # Cancels any active dragging in the page.
42922-
+ command cancelDragging
42923-
+
42924-
# Emulates touch event from the mouse event parameters.
42925-
experimental command emulateTouchFromMouseEvent
42926-
parameters
4292742949
```

json/browser_protocol.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4891,7 +4891,8 @@
48914891
"properties": [
48924892
{
48934893
"name": "text",
4894-
"description": "Container query text.",
4894+
"description": "Container query text.\nContains the query part without the container name for a single query.\nDeprecated in favor of conditionText which contains the full prelude\nafter @container.",
4895+
"deprecated": true,
48954896
"type": "string"
48964897
},
48974898
{
@@ -4935,6 +4936,11 @@
49354936
"description": "true if the query contains anchored() queries.",
49364937
"optional": true,
49374938
"type": "boolean"
4939+
},
4940+
{
4941+
"name": "conditionText",
4942+
"description": "CSSContainerRule.conditionText",
4943+
"type": "string"
49384944
}
49394945
]
49404946
},
@@ -6254,7 +6260,33 @@
62546260
},
62556261
{
62566262
"name": "setContainerQueryText",
6257-
"description": "Modifies the expression of a container query.",
6263+
"description": "Modifies the expression of a container query.\nDeprecated. Use setContainerQueryConditionText instead.",
6264+
"experimental": true,
6265+
"deprecated": true,
6266+
"parameters": [
6267+
{
6268+
"name": "styleSheetId",
6269+
"$ref": "DOM.StyleSheetId"
6270+
},
6271+
{
6272+
"name": "range",
6273+
"$ref": "SourceRange"
6274+
},
6275+
{
6276+
"name": "text",
6277+
"type": "string"
6278+
}
6279+
],
6280+
"returns": [
6281+
{
6282+
"name": "containerQuery",
6283+
"description": "The resulting CSS container query rule after modification.",
6284+
"$ref": "CSSContainerQuery"
6285+
}
6286+
]
6287+
},
6288+
{
6289+
"name": "setContainerQueryConditionText",
62586290
"experimental": true,
62596291
"parameters": [
62606292
{

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1625959",
3+
"version": "0.0.1627472",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/CSS.pdl

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,10 @@ experimental domain CSS
338338
experimental type CSSContainerQuery extends object
339339
properties
340340
# Container query text.
341-
string text
341+
# Contains the query part without the container name for a single query.
342+
# Deprecated in favor of conditionText which contains the full prelude
343+
# after @container.
344+
deprecated string text
342345
# The associated rule header range in the enclosing stylesheet (if
343346
# available).
344347
optional SourceRange range
@@ -354,6 +357,8 @@ experimental domain CSS
354357
optional boolean queriesScrollState
355358
# true if the query contains anchored() queries.
356359
optional boolean queriesAnchored
360+
# CSSContainerRule.conditionText
361+
string conditionText
357362

358363
# CSS Supports at-rule descriptor.
359364
experimental type CSSSupports extends object
@@ -927,7 +932,17 @@ experimental domain CSS
927932
CSSMedia media
928933

929934
# Modifies the expression of a container query.
930-
experimental command setContainerQueryText
935+
# Deprecated. Use setContainerQueryConditionText instead.
936+
experimental deprecated command setContainerQueryText
937+
parameters
938+
DOM.StyleSheetId styleSheetId
939+
SourceRange range
940+
string text
941+
returns
942+
# The resulting CSS container query rule after modification.
943+
CSSContainerQuery containerQuery
944+
945+
experimental command setContainerQueryConditionText
931946
parameters
932947
DOM.StyleSheetId styleSheetId
933948
SourceRange range

types/protocol-mapping.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2446,12 +2446,21 @@ export namespace ProtocolMapping {
24462446
};
24472447
/**
24482448
* Modifies the expression of a container query.
2449+
* Deprecated. Use setContainerQueryConditionText instead.
2450+
* @deprecated
24492451
* @experimental
24502452
*/
24512453
'CSS.setContainerQueryText': {
24522454
paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
24532455
returnType: Protocol.CSS.SetContainerQueryTextResponse;
24542456
};
2457+
/**
2458+
* @experimental
2459+
*/
2460+
'CSS.setContainerQueryConditionText': {
2461+
paramsType: [Protocol.CSS.SetContainerQueryConditionTextRequest];
2462+
returnType: Protocol.CSS.SetContainerQueryConditionTextResponse;
2463+
};
24552464
/**
24562465
* Modifies the expression of a supports at-rule.
24572466
* @experimental

types/protocol-proxy-api.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,10 +1344,17 @@ export namespace ProtocolProxyApi {
13441344

13451345
/**
13461346
* Modifies the expression of a container query.
1347+
* Deprecated. Use setContainerQueryConditionText instead.
1348+
* @deprecated
13471349
* @experimental
13481350
*/
13491351
setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<Protocol.CSS.SetContainerQueryTextResponse>;
13501352

1353+
/**
1354+
* @experimental
1355+
*/
1356+
setContainerQueryConditionText(params: Protocol.CSS.SetContainerQueryConditionTextRequest): Promise<Protocol.CSS.SetContainerQueryConditionTextResponse>;
1357+
13511358
/**
13521359
* Modifies the expression of a supports at-rule.
13531360
* @experimental

types/protocol-tests-proxy-api.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,10 +1418,17 @@ export namespace ProtocolTestsProxyApi {
14181418

14191419
/**
14201420
* Modifies the expression of a container query.
1421+
* Deprecated. Use setContainerQueryConditionText instead.
1422+
* @deprecated
14211423
* @experimental
14221424
*/
14231425
setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<{id: number, result: Protocol.CSS.SetContainerQueryTextResponse, sessionId: string}>;
14241426

1427+
/**
1428+
* @experimental
1429+
*/
1430+
setContainerQueryConditionText(params: Protocol.CSS.SetContainerQueryConditionTextRequest): Promise<{id: number, result: Protocol.CSS.SetContainerQueryConditionTextResponse, sessionId: string}>;
1431+
14251432
/**
14261433
* Modifies the expression of a supports at-rule.
14271434
* @experimental

types/protocol.d.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5546,6 +5546,10 @@ export namespace Protocol {
55465546
export interface CSSContainerQuery {
55475547
/**
55485548
* Container query text.
5549+
* Contains the query part without the container name for a single query.
5550+
* Deprecated in favor of conditionText which contains the full prelude
5551+
* after @container.
5552+
* @deprecated
55495553
*/
55505554
text: string;
55515555
/**
@@ -5577,6 +5581,10 @@ export namespace Protocol {
55775581
* true if the query contains anchored() queries.
55785582
*/
55795583
queriesAnchored?: boolean;
5584+
/**
5585+
* CSSContainerRule.conditionText
5586+
*/
5587+
conditionText: string;
55805588
}
55815589

55825590
/**
@@ -6454,6 +6462,19 @@ export namespace Protocol {
64546462
containerQuery: CSSContainerQuery;
64556463
}
64566464

6465+
export interface SetContainerQueryConditionTextRequest {
6466+
styleSheetId: DOM.StyleSheetId;
6467+
range: SourceRange;
6468+
text: string;
6469+
}
6470+
6471+
export interface SetContainerQueryConditionTextResponse {
6472+
/**
6473+
* The resulting CSS container query rule after modification.
6474+
*/
6475+
containerQuery: CSSContainerQuery;
6476+
}
6477+
64576478
export interface SetSupportsTextRequest {
64586479
styleSheetId: DOM.StyleSheetId;
64596480
range: SourceRange;

0 commit comments

Comments
 (0)