From 362ba6775c2337ed3dc91d5320f7e891c3c74f99 Mon Sep 17 00:00:00 2001 From: MDN Date: Sat, 13 Mar 2021 00:26:44 +0000 Subject: [CRON] sync translated content --- files/pt-br/_redirects.txt | 2 +- files/pt-br/_wikihistory.json | 12 ++++++------ files/pt-br/web/api/document/getselection/index.html | 10 ++++++++++ .../web/api/documentorshadowroot/getselection/index.html | 10 ---------- 4 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 files/pt-br/web/api/document/getselection/index.html delete mode 100644 files/pt-br/web/api/documentorshadowroot/getselection/index.html (limited to 'files/pt-br') diff --git a/files/pt-br/_redirects.txt b/files/pt-br/_redirects.txt index 85ac13ea5b..85c7b192d6 100644 --- a/files/pt-br/_redirects.txt +++ b/files/pt-br/_redirects.txt @@ -555,8 +555,8 @@ /pt-BR/docs/Web/API/Document/defaultView/popstate_event /pt-BR/docs/Web/API/Window/popstate_event /pt-BR/docs/Web/API/Document/defaultView/resize_event /pt-BR/docs/Web/API/Window/resize_event /pt-BR/docs/Web/API/Document/elementFromPoint /pt-BR/docs/Web/API/DocumentOrShadowRoot/elementFromPoint -/pt-BR/docs/Web/API/Document/getSelection /pt-BR/docs/Web/API/DocumentOrShadowRoot/getSelection /pt-BR/docs/Web/API/DocumentOrShadowRoot/activeElement /pt-BR/docs/Web/API/Document/activeElement +/pt-BR/docs/Web/API/DocumentOrShadowRoot/getSelection /pt-BR/docs/Web/API/Document/getSelection /pt-BR/docs/Web/API/DocumentoXML /pt-BR/docs/Web/API/XMLDocument /pt-BR/docs/Web/API/Element.addEventListener /pt-BR/docs/Web/API/EventTarget/addEventListener /pt-BR/docs/Web/API/Element.getAttribute /pt-BR/docs/Web/API/Element/getAttribute diff --git a/files/pt-br/_wikihistory.json b/files/pt-br/_wikihistory.json index 8844ab7810..fc9965ff16 100644 --- a/files/pt-br/_wikihistory.json +++ b/files/pt-br/_wikihistory.json @@ -16964,12 +16964,6 @@ "cezaraugusto" ] }, - "Web/API/DocumentOrShadowRoot/getSelection": { - "modified": "2019-03-23T22:54:15.369Z", - "contributors": [ - "expalmer" - ] - }, "Web/API/HTMLElement/accessKey": { "modified": "2019-03-23T22:27:15.059Z", "contributors": [ @@ -17367,5 +17361,11 @@ "fernandosavio", "DiegoYungh" ] + }, + "Web/API/Document/getSelection": { + "modified": "2019-03-23T22:54:15.369Z", + "contributors": [ + "expalmer" + ] } } \ No newline at end of file diff --git a/files/pt-br/web/api/document/getselection/index.html b/files/pt-br/web/api/document/getselection/index.html new file mode 100644 index 0000000000..24f7c5c180 --- /dev/null +++ b/files/pt-br/web/api/document/getselection/index.html @@ -0,0 +1,10 @@ +--- +title: Document.getSelection() +slug: Web/API/Document/getSelection +translation_of: Web/API/DocumentOrShadowRoot/getSelection +translation_of_original: Web/API/Document/getSelection +original_slug: Web/API/DocumentOrShadowRoot/getSelection +--- +

{{APIRef("DOM")}}

+ +

Esse método funciona de forma idêntica ao método {{domxref("Window.getSelection()")}};  Ele retorna um objeto {{domxref("Selection")}} representando o texto atualmente selecionado no documento.

diff --git a/files/pt-br/web/api/documentorshadowroot/getselection/index.html b/files/pt-br/web/api/documentorshadowroot/getselection/index.html deleted file mode 100644 index 11fff02755..0000000000 --- a/files/pt-br/web/api/documentorshadowroot/getselection/index.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Document.getSelection() -slug: Web/API/DocumentOrShadowRoot/getSelection -translation_of: Web/API/DocumentOrShadowRoot/getSelection -translation_of_original: Web/API/Document/getSelection -original_slug: Web/API/Document/getSelection ---- -

{{APIRef("DOM")}}

- -

Esse método funciona de forma idêntica ao método {{domxref("Window.getSelection()")}};  Ele retorna um objeto {{domxref("Selection")}} representando o texto atualmente selecionado no documento.

-- cgit v1.2.3-54-g00ecf