Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker authored Nov 7, 2021
1 parent 368aeb9 commit 4f2ea9a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions files/en-us/web/api/window/open/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,24 +130,24 @@ Whether or not to use a popup window affects the {{domxref("BarProp.visible")}}
> **Note:** In some browsers, users can configure the browser to not to use a popup window. Also, some
> browsers, such as mobile browsers, don't have the concept of windows.
- `popup`

- : If this feature is present and enabled, it requests that the browser use a minimal pop-up
window for the new secondary window.
If this feature is not present, or is present and disabled, it requests that the browser not use a minimal
pop-up window for the secondary window.

To enable the feature, specify `popup` either with no value at all, or else set it to `yes` or `1`.

Example: `popup=yes`, `popup=1`, and `popup` have identical results.
Example: `popup=yes`, `popup=1`, and `popup` all have identical results.

Otherwise:

* To not request a popup, omit the _windowFeatures_ parameter.
* Otherwise:
* Specifying any features other than `noopener` or `noreferer` has the effect of also requesting a popup.
* Specifying any features in the _windowFeatures_ parameter other than `noopener` or `noreferer` has the effect of also requesting a popup.
* Otherwise, no popup is requested.

- `popup`

- : If this feature is present and enabled, it requests that the browser use a minimal pop-up
window for the new secondary window.
If this feature is not present, or is present and disabled, it requests that the browser not use a minimal
pop-up window for the secondary window.

### Position and size features

The _windowFeatures_ parameter can specify the position and size of the new secondary window,
Expand Down

0 comments on commit 4f2ea9a

Please sign in to comment.