diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index a7d8e7230c9..7380529fca1 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1117,6 +1117,10 @@ increment above or below represents zooming 20% larger or smaller to default limits of 300% and 50% of original size, respectively. The formula for this is `scale := 1.2 ^ level`. +> **NOTE**: The zoom policy at the Chromium level is same-origin, meaning that the +> zoom level for a specific domain propagates across all instances of windows with +> the same domain. Differentiating the window URLs will make zoom work per-window. + #### `contents.getZoomLevel()` Returns `Number` - the current zoom level. diff --git a/docs/api/web-frame.md b/docs/api/web-frame.md index 9cfc4f2c3b4..da688f18d3b 100644 --- a/docs/api/web-frame.md +++ b/docs/api/web-frame.md @@ -41,6 +41,10 @@ Changes the zoom level to the specified level. The original size is 0 and each increment above or below represents zooming 20% larger or smaller to default limits of 300% and 50% of original size, respectively. +> **NOTE**: The zoom policy at the Chromium level is same-origin, meaning that the +> zoom level for a specific domain propagates across all instances of windows with +> the same domain. Differentiating the window URLs will make zoom work per-window. + ### `webFrame.getZoomLevel()` Returns `Number` - The current zoom level. diff --git a/docs/api/webview-tag.md b/docs/api/webview-tag.md index b116b033efe..b7fab619fab 100644 --- a/docs/api/webview-tag.md +++ b/docs/api/webview-tag.md @@ -648,6 +648,10 @@ increment above or below represents zooming 20% larger or smaller to default limits of 300% and 50% of original size, respectively. The formula for this is `scale := 1.2 ^ level`. +> **NOTE**: The zoom policy at the Chromium level is same-origin, meaning that the +> zoom level for a specific domain propagates across all instances of windows with +> the same domain. Differentiating the window URLs will make zoom work per-window. + ### `.getZoomFactor()` Returns `Number` - the current zoom factor.