You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/server/webkit/protocol.ts
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -903,6 +903,10 @@ export module Protocol {
903
903
*/
904
904
defaultValue: number;
905
905
}
906
+
/**
907
+
* The layout context type of a node.
908
+
*/
909
+
exporttypeLayoutContextType="grid";
906
910
907
911
/**
908
912
* Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features.
@@ -932,6 +936,19 @@ export module Protocol {
932
936
*/
933
937
styleSheetId: StyleSheetId;
934
938
}
939
+
/**
940
+
* Called when a node's layout context type has changed.
941
+
*/
942
+
exporttypenodeLayoutContextTypeChangedPayload={
943
+
/**
944
+
* Identifier of the node whose layout context type changed.
945
+
*/
946
+
nodeId: DOM.NodeId;
947
+
/**
948
+
* The new layout context type of the node. When not provided, the <code>LayoutContextType</code> of the node is not a context for which Web Inspector has specific functionality.
949
+
*/
950
+
layoutContextType?: LayoutContextType;
951
+
}
935
952
936
953
/**
937
954
* Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been enabled until the result of this command is received.
@@ -1781,6 +1798,10 @@ export module Protocol {
1781
1798
* Computed SHA-256 Content Security Policy hash source for given element.
1782
1799
*/
1783
1800
contentSecurityPolicyHash?: string;
1801
+
/**
1802
+
* The layout context type of the node. When not provided, the <code>LayoutContextType</code> of the node is not a context for which Web Inspector has specific functionality.
1803
+
*/
1804
+
layoutContextType?: CSS.LayoutContextType;
1784
1805
}
1785
1806
/**
1786
1807
* Relationship between data that is associated with a node and the node itself.
@@ -8458,6 +8479,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
0 commit comments