devtools-protocol 0.0.1709723 → 0.0.1710668

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.
@@ -5990,6 +5990,23 @@
5990
5990
  }
5991
5991
  ]
5992
5992
  },
5993
+ {
5994
+ "name": "forcePositionTryOption",
5995
+ "description": "Forces a position-try option for the given node.",
5996
+ "parameters": [
5997
+ {
5998
+ "name": "nodeId",
5999
+ "description": "The element id for which to force the position-try option.",
6000
+ "$ref": "DOM.NodeId"
6001
+ },
6002
+ {
6003
+ "name": "index",
6004
+ "description": "The 1-based index of the position-try fallback option, 0 for base position (no fallback),\nor omitted to clear the forced state.",
6005
+ "optional": true,
6006
+ "type": "integer"
6007
+ }
6008
+ ]
6009
+ },
5993
6010
  {
5994
6011
  "name": "getBackgroundColors",
5995
6012
  "parameters": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1709723",
3
+ "version": "0.0.1710668",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -712,6 +712,15 @@ experimental domain CSS
712
712
  # Boolean indicating if this is on or off.
713
713
  boolean forced
714
714
 
715
+ # Forces a position-try option for the given node.
716
+ command forcePositionTryOption
717
+ parameters
718
+ # The element id for which to force the position-try option.
719
+ DOM.NodeId nodeId
720
+ # The 1-based index of the position-try fallback option, 0 for base position (no fallback),
721
+ # or omitted to clear the forced state.
722
+ optional integer index
723
+
715
724
  command getBackgroundColors
716
725
  parameters
717
726
  # Id of the node to get background colors for.
@@ -2270,6 +2270,13 @@ export namespace ProtocolMapping {
2270
2270
  paramsType: [Protocol.CSS.ForceStartingStyleRequest];
2271
2271
  returnType: void;
2272
2272
  };
2273
+ /**
2274
+ * Forces a position-try option for the given node.
2275
+ */
2276
+ 'CSS.forcePositionTryOption': {
2277
+ paramsType: [Protocol.CSS.ForcePositionTryOptionRequest];
2278
+ returnType: void;
2279
+ };
2273
2280
  'CSS.getBackgroundColors': {
2274
2281
  paramsType: [Protocol.CSS.GetBackgroundColorsRequest];
2275
2282
  returnType: Protocol.CSS.GetBackgroundColorsResponse;
@@ -1239,6 +1239,11 @@ export namespace ProtocolProxyApi {
1239
1239
  */
1240
1240
  forceStartingStyle(params: Protocol.CSS.ForceStartingStyleRequest): Promise<void>;
1241
1241
 
1242
+ /**
1243
+ * Forces a position-try option for the given node.
1244
+ */
1245
+ forcePositionTryOption(params: Protocol.CSS.ForcePositionTryOptionRequest): Promise<void>;
1246
+
1242
1247
  getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<Protocol.CSS.GetBackgroundColorsResponse>;
1243
1248
 
1244
1249
  /**
@@ -1313,6 +1313,11 @@ export namespace ProtocolTestsProxyApi {
1313
1313
  */
1314
1314
  forceStartingStyle(params: Protocol.CSS.ForceStartingStyleRequest): Promise<{id: number, result: void, sessionId: string}>;
1315
1315
 
1316
+ /**
1317
+ * Forces a position-try option for the given node.
1318
+ */
1319
+ forcePositionTryOption(params: Protocol.CSS.ForcePositionTryOptionRequest): Promise<{id: number, result: void, sessionId: string}>;
1320
+
1316
1321
  getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<{id: number, result: Protocol.CSS.GetBackgroundColorsResponse, sessionId: string}>;
1317
1322
 
1318
1323
  /**
@@ -6346,6 +6346,18 @@ export namespace Protocol {
6346
6346
  forced: boolean;
6347
6347
  }
6348
6348
 
6349
+ export interface ForcePositionTryOptionRequest {
6350
+ /**
6351
+ * The element id for which to force the position-try option.
6352
+ */
6353
+ nodeId: DOM.NodeId;
6354
+ /**
6355
+ * The 1-based index of the position-try fallback option, 0 for base position (no fallback),
6356
+ * or omitted to clear the forced state.
6357
+ */
6358
+ index?: integer;
6359
+ }
6360
+
6349
6361
  export interface GetBackgroundColorsRequest {
6350
6362
  /**
6351
6363
  * Id of the node to get background colors for.