devtools-protocol 0.0.1625959 → 0.0.1627472
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4891,7 +4891,8 @@
|
|
|
4891
4891
|
"properties": [
|
|
4892
4892
|
{
|
|
4893
4893
|
"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,
|
|
4895
4896
|
"type": "string"
|
|
4896
4897
|
},
|
|
4897
4898
|
{
|
|
@@ -4935,6 +4936,11 @@
|
|
|
4935
4936
|
"description": "true if the query contains anchored() queries.",
|
|
4936
4937
|
"optional": true,
|
|
4937
4938
|
"type": "boolean"
|
|
4939
|
+
},
|
|
4940
|
+
{
|
|
4941
|
+
"name": "conditionText",
|
|
4942
|
+
"description": "CSSContainerRule.conditionText",
|
|
4943
|
+
"type": "string"
|
|
4938
4944
|
}
|
|
4939
4945
|
]
|
|
4940
4946
|
},
|
|
@@ -6254,7 +6260,33 @@
|
|
|
6254
6260
|
},
|
|
6255
6261
|
{
|
|
6256
6262
|
"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",
|
|
6258
6290
|
"experimental": true,
|
|
6259
6291
|
"parameters": [
|
|
6260
6292
|
{
|
package/package.json
CHANGED
package/pdl/domains/CSS.pdl
CHANGED
|
@@ -338,7 +338,10 @@ experimental domain CSS
|
|
|
338
338
|
experimental type CSSContainerQuery extends object
|
|
339
339
|
properties
|
|
340
340
|
# Container query text.
|
|
341
|
-
|
|
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
|
|
342
345
|
# The associated rule header range in the enclosing stylesheet (if
|
|
343
346
|
# available).
|
|
344
347
|
optional SourceRange range
|
|
@@ -354,6 +357,8 @@ experimental domain CSS
|
|
|
354
357
|
optional boolean queriesScrollState
|
|
355
358
|
# true if the query contains anchored() queries.
|
|
356
359
|
optional boolean queriesAnchored
|
|
360
|
+
# CSSContainerRule.conditionText
|
|
361
|
+
string conditionText
|
|
357
362
|
|
|
358
363
|
# CSS Supports at-rule descriptor.
|
|
359
364
|
experimental type CSSSupports extends object
|
|
@@ -927,7 +932,17 @@ experimental domain CSS
|
|
|
927
932
|
CSSMedia media
|
|
928
933
|
|
|
929
934
|
# Modifies the expression of a container query.
|
|
930
|
-
|
|
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
|
|
931
946
|
parameters
|
|
932
947
|
DOM.StyleSheetId styleSheetId
|
|
933
948
|
SourceRange range
|
|
@@ -2446,12 +2446,21 @@ export namespace ProtocolMapping {
|
|
|
2446
2446
|
};
|
|
2447
2447
|
/**
|
|
2448
2448
|
* Modifies the expression of a container query.
|
|
2449
|
+
* Deprecated. Use setContainerQueryConditionText instead.
|
|
2450
|
+
* @deprecated
|
|
2449
2451
|
* @experimental
|
|
2450
2452
|
*/
|
|
2451
2453
|
'CSS.setContainerQueryText': {
|
|
2452
2454
|
paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
|
|
2453
2455
|
returnType: Protocol.CSS.SetContainerQueryTextResponse;
|
|
2454
2456
|
};
|
|
2457
|
+
/**
|
|
2458
|
+
* @experimental
|
|
2459
|
+
*/
|
|
2460
|
+
'CSS.setContainerQueryConditionText': {
|
|
2461
|
+
paramsType: [Protocol.CSS.SetContainerQueryConditionTextRequest];
|
|
2462
|
+
returnType: Protocol.CSS.SetContainerQueryConditionTextResponse;
|
|
2463
|
+
};
|
|
2455
2464
|
/**
|
|
2456
2465
|
* Modifies the expression of a supports at-rule.
|
|
2457
2466
|
* @experimental
|
|
@@ -1344,10 +1344,17 @@ export namespace ProtocolProxyApi {
|
|
|
1344
1344
|
|
|
1345
1345
|
/**
|
|
1346
1346
|
* Modifies the expression of a container query.
|
|
1347
|
+
* Deprecated. Use setContainerQueryConditionText instead.
|
|
1348
|
+
* @deprecated
|
|
1347
1349
|
* @experimental
|
|
1348
1350
|
*/
|
|
1349
1351
|
setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<Protocol.CSS.SetContainerQueryTextResponse>;
|
|
1350
1352
|
|
|
1353
|
+
/**
|
|
1354
|
+
* @experimental
|
|
1355
|
+
*/
|
|
1356
|
+
setContainerQueryConditionText(params: Protocol.CSS.SetContainerQueryConditionTextRequest): Promise<Protocol.CSS.SetContainerQueryConditionTextResponse>;
|
|
1357
|
+
|
|
1351
1358
|
/**
|
|
1352
1359
|
* Modifies the expression of a supports at-rule.
|
|
1353
1360
|
* @experimental
|
|
@@ -1418,10 +1418,17 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1418
1418
|
|
|
1419
1419
|
/**
|
|
1420
1420
|
* Modifies the expression of a container query.
|
|
1421
|
+
* Deprecated. Use setContainerQueryConditionText instead.
|
|
1422
|
+
* @deprecated
|
|
1421
1423
|
* @experimental
|
|
1422
1424
|
*/
|
|
1423
1425
|
setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<{id: number, result: Protocol.CSS.SetContainerQueryTextResponse, sessionId: string}>;
|
|
1424
1426
|
|
|
1427
|
+
/**
|
|
1428
|
+
* @experimental
|
|
1429
|
+
*/
|
|
1430
|
+
setContainerQueryConditionText(params: Protocol.CSS.SetContainerQueryConditionTextRequest): Promise<{id: number, result: Protocol.CSS.SetContainerQueryConditionTextResponse, sessionId: string}>;
|
|
1431
|
+
|
|
1425
1432
|
/**
|
|
1426
1433
|
* Modifies the expression of a supports at-rule.
|
|
1427
1434
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
|
@@ -5546,6 +5546,10 @@ export namespace Protocol {
|
|
|
5546
5546
|
export interface CSSContainerQuery {
|
|
5547
5547
|
/**
|
|
5548
5548
|
* 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
|
|
5549
5553
|
*/
|
|
5550
5554
|
text: string;
|
|
5551
5555
|
/**
|
|
@@ -5577,6 +5581,10 @@ export namespace Protocol {
|
|
|
5577
5581
|
* true if the query contains anchored() queries.
|
|
5578
5582
|
*/
|
|
5579
5583
|
queriesAnchored?: boolean;
|
|
5584
|
+
/**
|
|
5585
|
+
* CSSContainerRule.conditionText
|
|
5586
|
+
*/
|
|
5587
|
+
conditionText: string;
|
|
5580
5588
|
}
|
|
5581
5589
|
|
|
5582
5590
|
/**
|
|
@@ -6454,6 +6462,19 @@ export namespace Protocol {
|
|
|
6454
6462
|
containerQuery: CSSContainerQuery;
|
|
6455
6463
|
}
|
|
6456
6464
|
|
|
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
|
+
|
|
6457
6478
|
export interface SetSupportsTextRequest {
|
|
6458
6479
|
styleSheetId: DOM.StyleSheetId;
|
|
6459
6480
|
range: SourceRange;
|