devtools-protocol 0.0.1395251 → 0.0.1396320
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.
@@ -4684,6 +4684,22 @@
|
|
4684
4684
|
}
|
4685
4685
|
]
|
4686
4686
|
},
|
4687
|
+
{
|
4688
|
+
"name": "forceStartingStyle",
|
4689
|
+
"description": "Ensures that the given node is in its starting-style state.",
|
4690
|
+
"parameters": [
|
4691
|
+
{
|
4692
|
+
"name": "nodeId",
|
4693
|
+
"description": "The element id for which to force the starting-style state.",
|
4694
|
+
"$ref": "DOM.NodeId"
|
4695
|
+
},
|
4696
|
+
{
|
4697
|
+
"name": "forced",
|
4698
|
+
"description": "Boolean indicating if this is on or off.",
|
4699
|
+
"type": "boolean"
|
4700
|
+
}
|
4701
|
+
]
|
4702
|
+
},
|
4687
4703
|
{
|
4688
4704
|
"name": "getBackgroundColors",
|
4689
4705
|
"parameters": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -2255,6 +2255,14 @@ experimental domain CSS
|
|
2255
2255
|
# Element pseudo classes to force when computing the element's style.
|
2256
2256
|
array of string forcedPseudoClasses
|
2257
2257
|
|
2258
|
+
# Ensures that the given node is in its starting-style state.
|
2259
|
+
command forceStartingStyle
|
2260
|
+
parameters
|
2261
|
+
# The element id for which to force the starting-style state.
|
2262
|
+
DOM.NodeId nodeId
|
2263
|
+
# Boolean indicating if this is on or off.
|
2264
|
+
boolean forced
|
2265
|
+
|
2258
2266
|
command getBackgroundColors
|
2259
2267
|
parameters
|
2260
2268
|
# Id of the node to get background colors for.
|
@@ -1807,6 +1807,13 @@ export namespace ProtocolMapping {
|
|
1807
1807
|
paramsType: [Protocol.CSS.ForcePseudoStateRequest];
|
1808
1808
|
returnType: void;
|
1809
1809
|
};
|
1810
|
+
/**
|
1811
|
+
* Ensures that the given node is in its starting-style state.
|
1812
|
+
*/
|
1813
|
+
'CSS.forceStartingStyle': {
|
1814
|
+
paramsType: [Protocol.CSS.ForceStartingStyleRequest];
|
1815
|
+
returnType: void;
|
1816
|
+
};
|
1810
1817
|
'CSS.getBackgroundColors': {
|
1811
1818
|
paramsType: [Protocol.CSS.GetBackgroundColorsRequest];
|
1812
1819
|
returnType: Protocol.CSS.GetBackgroundColorsResponse;
|
@@ -1054,6 +1054,11 @@ export namespace ProtocolProxyApi {
|
|
1054
1054
|
*/
|
1055
1055
|
forcePseudoState(params: Protocol.CSS.ForcePseudoStateRequest): Promise<void>;
|
1056
1056
|
|
1057
|
+
/**
|
1058
|
+
* Ensures that the given node is in its starting-style state.
|
1059
|
+
*/
|
1060
|
+
forceStartingStyle(params: Protocol.CSS.ForceStartingStyleRequest): Promise<void>;
|
1061
|
+
|
1057
1062
|
getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<Protocol.CSS.GetBackgroundColorsResponse>;
|
1058
1063
|
|
1059
1064
|
/**
|
@@ -1122,6 +1122,11 @@ export namespace ProtocolTestsProxyApi {
|
|
1122
1122
|
*/
|
1123
1123
|
forcePseudoState(params: Protocol.CSS.ForcePseudoStateRequest): Promise<{id: number, result: void, sessionId: string}>;
|
1124
1124
|
|
1125
|
+
/**
|
1126
|
+
* Ensures that the given node is in its starting-style state.
|
1127
|
+
*/
|
1128
|
+
forceStartingStyle(params: Protocol.CSS.ForceStartingStyleRequest): Promise<{id: number, result: void, sessionId: string}>;
|
1129
|
+
|
1125
1130
|
getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<{id: number, result: Protocol.CSS.GetBackgroundColorsResponse, sessionId: string}>;
|
1126
1131
|
|
1127
1132
|
/**
|
package/types/protocol.d.ts
CHANGED
@@ -5474,6 +5474,17 @@ export namespace Protocol {
|
|
5474
5474
|
forcedPseudoClasses: string[];
|
5475
5475
|
}
|
5476
5476
|
|
5477
|
+
export interface ForceStartingStyleRequest {
|
5478
|
+
/**
|
5479
|
+
* The element id for which to force the starting-style state.
|
5480
|
+
*/
|
5481
|
+
nodeId: DOM.NodeId;
|
5482
|
+
/**
|
5483
|
+
* Boolean indicating if this is on or off.
|
5484
|
+
*/
|
5485
|
+
forced: boolean;
|
5486
|
+
}
|
5487
|
+
|
5477
5488
|
export interface GetBackgroundColorsRequest {
|
5478
5489
|
/**
|
5479
5490
|
* Id of the node to get background colors for.
|