Skip to content

Commit

Permalink
chore: remove instances of CompatChrome (#8704)
Browse files Browse the repository at this point in the history
* chore: remove instances of CompatChrome

This removes instances of `CompatChrome` from the content. It also updates some sections to be closer to mdn/content.
Your feedback is appreciated.

Part of #5618

* Apply `es` suggestions from code review

* Apply suggestions from code review

Co-authored-by: Alexander <[email protected]>
Co-authored-by: Masahiro FUJIMOTO <[email protected]>
  • Loading branch information
3 people authored Nov 6, 2022
1 parent 08806bf commit e8d056b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions files/pt-br/web/api/window/print/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ Abre a janela de impressão para imprimir o documento atual.

## Sintaxe

```js-nolint
print()
```
window.print()
```

## Notas
### Parameters

None.

### Return value

Começando com o Chrome {{CompatChrome(46.0)}} este método é bloqueado dentro de um {{htmlelement("iframe")}} a menos que seu atributo sandbox tem o valor allow-modal .
None ({{jsxref("undefined")}}).

## Especificação

Expand All @@ -26,10 +30,10 @@ Começando com o Chrome {{CompatChrome(46.0)}} este método é bloqueado dentro

## Compatibilidade com navegadores

{{Compat("api.Window.print")}}
{{Compat}}

## Veja também

- [Printing](/en/Printing)
- {{ domxref("window.onbeforeprint") }}
- {{ domxref("window.onafterprint") }}
- [Printing](/en-US/docs/Web/Guide/Printing)
- {{ domxref("window.beforeprint_event", "beforeprint") }} event
- {{ domxref("window.afterprint_event", "afterprint") }} event

0 comments on commit e8d056b

Please sign in to comment.