From 9a06d5b4a3874caa094bff06895c892914eaea93 Mon Sep 17 00:00:00 2001 From: MDN Date: Thu, 30 Sep 2021 00:53:33 +0000 Subject: [CRON] sync translated content --- files/ru/_redirects.txt | 2 + files/ru/_wikihistory.json | 24 +++++------ files/ru/web/api/animation/starttime/index.html | 47 +++++++++++++++++++++ files/ru/web/api/performance_property/index.html | 49 ++++++++++++++++++++++ .../api/window/mozanimationstarttime/index.html | 46 -------------------- files/ru/web/api/window/performance/index.html | 48 --------------------- 6 files changed, 110 insertions(+), 106 deletions(-) create mode 100644 files/ru/web/api/animation/starttime/index.html create mode 100644 files/ru/web/api/performance_property/index.html delete mode 100644 files/ru/web/api/window/mozanimationstarttime/index.html delete mode 100644 files/ru/web/api/window/performance/index.html (limited to 'files/ru') diff --git a/files/ru/_redirects.txt b/files/ru/_redirects.txt index dcdb318df3..342eec5f29 100644 --- a/files/ru/_redirects.txt +++ b/files/ru/_redirects.txt @@ -368,6 +368,8 @@ /ru/docs/Web/API/WebGL_API/Using_shaders_to_apply_color_in_WebGL /ru/docs/Web/API/WebGL_API/Tutorial/Using_shaders_to_apply_color_in_WebGL /ru/docs/Web/API/WebRTC_API/протоколы /ru/docs/Web/API/WebRTC_API/Protocols /ru/docs/Web/API/WebRTC_API/связь /ru/docs/Web/API/WebRTC_API/Connectivity +/ru/docs/Web/API/Window/mozAnimationStartTime /ru/docs/Web/API/Animation/startTime +/ru/docs/Web/API/Window/performance /ru/docs/Web/API/performance_property /ru/docs/Web/API/WindowBase64/Base64_encoding_and_decoding /ru/docs/Glossary/Base64 /ru/docs/Web/API/WindowBase64/btoa /ru/docs/Web/API/btoa /ru/docs/Web/API/WindowOrWorkerGlobalScope/atob /ru/docs/Web/API/atob diff --git a/files/ru/_wikihistory.json b/files/ru/_wikihistory.json index 716c988409..f71b8e7a70 100644 --- a/files/ru/_wikihistory.json +++ b/files/ru/_wikihistory.json @@ -5553,6 +5553,12 @@ "MuradAz" ] }, + "Web/API/Animation/startTime": { + "modified": "2020-10-15T22:21:33.446Z", + "contributors": [ + "lastshipsails" + ] + }, "Web/API/AnimationEvent": { "modified": "2019-03-23T22:27:52.691Z", "contributors": [ @@ -11342,12 +11348,6 @@ "ekirpichyov" ] }, - "Web/API/Window/mozAnimationStartTime": { - "modified": "2020-10-15T22:21:33.446Z", - "contributors": [ - "lastshipsails" - ] - }, "Web/API/Window/name": { "modified": "2019-03-23T22:51:25.153Z", "contributors": [ @@ -11398,12 +11398,6 @@ "olehrgf" ] }, - "Web/API/Window/performance": { - "modified": "2019-03-18T21:36:16.802Z", - "contributors": [ - "Demjan" - ] - }, "Web/API/Window/popstate_event": { "modified": "2019-04-26T08:34:41.629Z", "contributors": [ @@ -11928,6 +11922,12 @@ "fsanano" ] }, + "Web/API/performance_property": { + "modified": "2019-03-18T21:36:16.802Z", + "contributors": [ + "Demjan" + ] + }, "Web/API/setInterval": { "modified": "2020-11-18T12:13:20.493Z", "contributors": [ diff --git a/files/ru/web/api/animation/starttime/index.html b/files/ru/web/api/animation/starttime/index.html new file mode 100644 index 0000000000..71c07ed4ac --- /dev/null +++ b/files/ru/web/api/animation/starttime/index.html @@ -0,0 +1,47 @@ +--- +title: Window.mozAnimationStartTime +slug: Web/API/Animation/startTime +tags: + - >- + API HTML DOM NeedsExample NeedsMarkupWork NeedsSpecTable Property + Reference Window +translation_of: Web/API/Window/mozAnimationStartTime +original_slug: Web/API/Window/mozAnimationStartTime +--- +

{{ APIRef() }}

+ +

{{ gecko_minversion_header("2.0") }}{{ non-standard_header() }}

+ +

Summary

+ +

Возвращает время в миллисекундах с начала эпохи UNIX, начиная с которого анимации, начавшиеся в определённый момент, должны быть сочтены уже начавшимися. Это значение должно быть использовано вместо, например, Date.now(), потому что оно будет тем же самым для анимаций, начавшихся в этом окне в течение этого интервала, позволяя им синхронизироваться между собой.

+ +

Это также позволяет анимациям JavaScript оставаться синхронизированными с CSS переходами и SMIL анимациями, запущенными в течение того же интервала обновления.

+ +

Syntax

+ +
time = window.mozAnimationStartTime;
+
+ +

Parameters

+ + + +

Specification

+ +

Not part of specification.

+ +

Browser compatibility

+ + + +

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

+ +

See also

+ + diff --git a/files/ru/web/api/performance_property/index.html b/files/ru/web/api/performance_property/index.html new file mode 100644 index 0000000000..74532dea94 --- /dev/null +++ b/files/ru/web/api/performance_property/index.html @@ -0,0 +1,49 @@ +--- +title: Window.performance +slug: Web/API/performance_property +translation_of: Web/API/Window/performance +original_slug: Web/API/Window/performance +--- +
{{APIREf}}
+ +

The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the Navigation Timing API and high-resolution time data.

+ +

Methods

+ +
+
{{domxref("Performance.mark()", "performance.mark()")}}
+
Maps a {{domxref("DOMHighResTimeStamp")}} to a specified name representing the amount of milliseconds elapsed since a reference instant.
+
+ +
+
{{domxref("Performance.now()", "performance.now()")}}
+
Возвращает {{domxref("DOMHighResTimeStamp")}} представляющий количество миллисекунд прошедшее с момента отсчёта.
+
measure()
+
This method stores the DOMHighResTimeStamp duration between two marks along with the associated name (a "measure").
+
getEntriesByType()
+
 
+
getEntriesByType()
+
 
+
getEntriesByName()
+
 
+
clearMarks()
+
+

If the markName argument is not specified, this method removes all marks and their associated DOMHighResTimeStamp time values.

+ +

If the markName argument is specified, this method removes all DOMHighResTimeStamp time values for the given mark name.

+ +

If the markName argument is specified but the specified markName does not exist, this method will do nothing.
+  

+
+
+ +

Properties

+ +
+
{{domxref("Performance.timing", "performance.timing")}}
+
Is a {{domxref("PerformanceTiming")}} object containing latency-related performance information.
+
{{domxref("Performance.navigation", "performance.navigation")}}
+
Is a {{domxref("PerformanceNavigation")}} object representing the type of navigation that occurs in the given browsing context, like the amount of redirections needed to fetch the resource.
+
performance.memory
+
A non-standard extension added in Chrome.
+
diff --git a/files/ru/web/api/window/mozanimationstarttime/index.html b/files/ru/web/api/window/mozanimationstarttime/index.html deleted file mode 100644 index 52c4ce128c..0000000000 --- a/files/ru/web/api/window/mozanimationstarttime/index.html +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: Window.mozAnimationStartTime -slug: Web/API/Window/mozAnimationStartTime -tags: - - >- - API HTML DOM NeedsExample NeedsMarkupWork NeedsSpecTable Property - Reference Window -translation_of: Web/API/Window/mozAnimationStartTime ---- -

{{ APIRef() }}

- -

{{ gecko_minversion_header("2.0") }}{{ non-standard_header() }}

- -

Summary

- -

Возвращает время в миллисекундах с начала эпохи UNIX, начиная с которого анимации, начавшиеся в определённый момент, должны быть сочтены уже начавшимися. Это значение должно быть использовано вместо, например, Date.now(), потому что оно будет тем же самым для анимаций, начавшихся в этом окне в течение этого интервала, позволяя им синхронизироваться между собой.

- -

Это также позволяет анимациям JavaScript оставаться синхронизированными с CSS переходами и SMIL анимациями, запущенными в течение того же интервала обновления.

- -

Syntax

- -
time = window.mozAnimationStartTime;
-
- -

Parameters

- - - -

Specification

- -

Not part of specification.

- -

Browser compatibility

- - - -

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

- -

See also

- - diff --git a/files/ru/web/api/window/performance/index.html b/files/ru/web/api/window/performance/index.html deleted file mode 100644 index 7f765838c8..0000000000 --- a/files/ru/web/api/window/performance/index.html +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Window.performance -slug: Web/API/Window/performance -translation_of: Web/API/Window/performance ---- -
{{APIREf}}
- -

The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the Navigation Timing API and high-resolution time data.

- -

Methods

- -
-
{{domxref("Performance.mark()", "performance.mark()")}}
-
Maps a {{domxref("DOMHighResTimeStamp")}} to a specified name representing the amount of milliseconds elapsed since a reference instant.
-
- -
-
{{domxref("Performance.now()", "performance.now()")}}
-
Возвращает {{domxref("DOMHighResTimeStamp")}} представляющий количество миллисекунд прошедшее с момента отсчёта.
-
measure()
-
This method stores the DOMHighResTimeStamp duration between two marks along with the associated name (a "measure").
-
getEntriesByType()
-
 
-
getEntriesByType()
-
 
-
getEntriesByName()
-
 
-
clearMarks()
-
-

If the markName argument is not specified, this method removes all marks and their associated DOMHighResTimeStamp time values.

- -

If the markName argument is specified, this method removes all DOMHighResTimeStamp time values for the given mark name.

- -

If the markName argument is specified but the specified markName does not exist, this method will do nothing.
-  

-
-
- -

Properties

- -
-
{{domxref("Performance.timing", "performance.timing")}}
-
Is a {{domxref("PerformanceTiming")}} object containing latency-related performance information.
-
{{domxref("Performance.navigation", "performance.navigation")}}
-
Is a {{domxref("PerformanceNavigation")}} object representing the type of navigation that occurs in the given browsing context, like the amount of redirections needed to fetch the resource.
-
performance.memory
-
A non-standard extension added in Chrome.
-
-- cgit v1.2.3-54-g00ecf