diff --git a/browsers.json b/browsers.json
index 968c90dc6e..3ca544ea0a 100644
--- a/browsers.json
+++ b/browsers.json
@@ -13,7 +13,7 @@
},
{
"name": "webkit",
- "revision": "1428",
+ "revision": "1432",
"download": true
},
{
diff --git a/src/server/webkit/protocol.ts b/src/server/webkit/protocol.ts
index 9d1d983adb..8d34bcd74c 100644
--- a/src/server/webkit/protocol.ts
+++ b/src/server/webkit/protocol.ts
@@ -2806,6 +2806,52 @@ export module Protocol {
}
export type highlightFrameReturnValue = {
}
+ /**
+ * Shows a grid overlay for a node that begins a 'grid' layout context. The command has no effect if nodeId is invalid or the associated node does not begin a 'grid' layout context. A node can only have one grid overlay at a time; subsequent calls with the same nodeId will override earlier calls.
+ */
+ export type showGridOverlayParameters = {
+ /**
+ * The node for which a grid overlay should be shown.
+ */
+ nodeId: NodeId;
+ /**
+ * The primary color to use for the grid overlay.
+ */
+ gridColor: RGBAColor;
+ /**
+ * Show labels for grid line names. If not specified, the default value is false.
+ */
+ showLineNames?: boolean;
+ /**
+ * Show labels for grid line numbers. If not specified, the default value is false.
+ */
+ showLineNumbers?: boolean;
+ /**
+ * Show grid lines that extend beyond the bounds of the grid. If not specified, the default value is false.
+ */
+ showExtendedGridlines?: boolean;
+ /**
+ * Show grid track size information. If not specified, the default value is false.
+ */
+ showTrackSizes?: boolean;
+ /**
+ * Show labels for grid area names. If not specified, the default value is false.
+ */
+ showAreaNames?: boolean;
+ }
+ export type showGridOverlayReturnValue = {
+ }
+ /**
+ * Hides a grid overlay for a node that begins a 'grid' layout context. The command has no effect if nodeId is specified and invalid, or if there is not currently an overlay set for the nodeId.
+ */
+ export type hideGridOverlayParameters = {
+ /**
+ * The node for which a grid overlay should be hidden. If a nodeId is not specified, all grid overlays will be hidden.
+ */
+ nodeId?: NodeId;
+ }
+ export type hideGridOverlayReturnValue = {
+ }
/**
* Requests that the node is sent to the caller given its path.
*/
@@ -8609,6 +8655,8 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOM.highlightNodeList": DOM.highlightNodeListParameters;
"DOM.hideHighlight": DOM.hideHighlightParameters;
"DOM.highlightFrame": DOM.highlightFrameParameters;
+ "DOM.showGridOverlay": DOM.showGridOverlayParameters;
+ "DOM.hideGridOverlay": DOM.hideGridOverlayParameters;
"DOM.pushNodeByPathToFrontend": DOM.pushNodeByPathToFrontendParameters;
"DOM.resolveNode": DOM.resolveNodeParameters;
"DOM.getAttributes": DOM.getAttributesParameters;
@@ -8894,6 +8942,8 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOM.highlightNodeList": DOM.highlightNodeListReturnValue;
"DOM.hideHighlight": DOM.hideHighlightReturnValue;
"DOM.highlightFrame": DOM.highlightFrameReturnValue;
+ "DOM.showGridOverlay": DOM.showGridOverlayReturnValue;
+ "DOM.hideGridOverlay": DOM.hideGridOverlayReturnValue;
"DOM.pushNodeByPathToFrontend": DOM.pushNodeByPathToFrontendReturnValue;
"DOM.resolveNode": DOM.resolveNodeReturnValue;
"DOM.getAttributes": DOM.getAttributesReturnValue;