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 --- .../api/window/mozanimationstarttime/index.html | 46 --------------------- files/ru/web/api/window/performance/index.html | 48 ---------------------- 2 files changed, 94 deletions(-) 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/web/api/window') 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