Skip to content

Commit 5f9acfa

Browse files
authored
feat(webkit): bump to 1436 (#5513)
1 parent bba9fab commit 5f9acfa

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

browsers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
{
1515
"name": "webkit",
16-
"revision": "1432",
16+
"revision": "1436",
1717
"download": true
1818
},
1919
{

src/server/webkit/protocol.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,10 @@ export module Protocol {
903903
*/
904904
defaultValue: number;
905905
}
906+
/**
907+
* The layout context type of a node.
908+
*/
909+
export type LayoutContextType = "grid";
906910

907911
/**
908912
* 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 {
932936
*/
933937
styleSheetId: StyleSheetId;
934938
}
939+
/**
940+
* Called when a node's layout context type has changed.
941+
*/
942+
export type nodeLayoutContextTypeChangedPayload = {
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+
}
935952

936953
/**
937954
* 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 {
17811798
* Computed SHA-256 Content Security Policy hash source for given element.
17821799
*/
17831800
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;
17841805
}
17851806
/**
17861807
* 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
84588479
"CSS.styleSheetChanged": CSS.styleSheetChangedPayload;
84598480
"CSS.styleSheetAdded": CSS.styleSheetAddedPayload;
84608481
"CSS.styleSheetRemoved": CSS.styleSheetRemovedPayload;
8482+
"CSS.nodeLayoutContextTypeChanged": CSS.nodeLayoutContextTypeChangedPayload;
84618483
"Canvas.canvasAdded": Canvas.canvasAddedPayload;
84628484
"Canvas.canvasRemoved": Canvas.canvasRemovedPayload;
84638485
"Canvas.canvasMemoryChanged": Canvas.canvasMemoryChangedPayload;

0 commit comments

Comments
 (0)