From 7a2cfc4872ec27ef4ea5aa79f01dcb03a9a24d88 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 27 Jul 2021 15:17:31 -0400 Subject: remove link 'title' attributes that's just the 'href' (ru, part 4) (#1748) --- .../web/api/canvas_api/tutorial/basic_animations/index.html | 2 +- .../ru/web/api/canvas_api/tutorial/drawing_shapes/index.html | 2 +- files/ru/web/api/canvas_api/tutorial/drawing_text/index.html | 2 +- files/ru/web/api/canvas_api/tutorial/index.html | 12 ++++++------ files/ru/web/api/canvasrenderingcontext2d/index.html | 4 ++-- files/ru/web/api/console/index.html | 2 +- .../css_object_model/managing_screen_orientation/index.html | 2 +- files/ru/web/api/cssconditionrule/index.html | 2 +- files/ru/web/api/domparser/index.html | 2 +- files/ru/web/api/event/stoppropagation/index.html | 2 +- .../file_and_directory_entries_api/introduction/index.html | 4 ++-- files/ru/web/api/filelist/index.html | 2 +- files/ru/web/api/filereader/index.html | 4 ++-- files/ru/web/api/htmlformelement/length/index.html | 2 +- files/ru/web/api/navigator/battery/index.html | 4 ++-- files/ru/web/api/navigator/donottrack/index.html | 2 +- .../ru/web/api/navigator/registerprotocolhandler/index.html | 2 +- files/ru/web/api/node/appendchild/index.html | 2 +- files/ru/web/api/node/clonenode/index.html | 2 +- files/ru/web/api/node/comparedocumentposition/index.html | 6 +++--- files/ru/web/api/node/lookupnamespaceuri/index.html | 2 +- files/ru/web/api/node/lookupprefix/index.html | 2 +- files/ru/web/api/performance/now/index.html | 2 +- files/ru/web/api/server-sent_events/index.html | 8 ++++---- .../serviceworkerregistration/shownotification/index.html | 2 +- files/ru/web/api/web_audio_api/index.html | 6 +++--- files/ru/web/api/webgl_api/index.html | 2 +- .../webgl_api/tutorial/getting_started_with_webgl/index.html | 2 +- files/ru/web/api/webgl_api/tutorial/index.html | 2 +- files/ru/web/api/websockets_api/index.html | 4 ++-- files/ru/web/api/window/getcomputedstyle/index.html | 4 ++-- files/ru/web/api/window/localstorage/index.html | 2 +- files/ru/web/api/windoworworkerglobalscope/btoa/index.html | 2 +- .../web/api/windoworworkerglobalscope/settimeout/index.html | 8 ++++---- files/ru/web/html/element/a/index.html | 2 +- files/ru/web/html/element/form/index.html | 2 +- files/ru/web/html/element/tfoot/index.html | 2 +- files/ru/web/http/headers/index.html | 2 +- files/ru/web/http/index.html | 2 +- files/ru/web/javascript/data_structures/index.html | 2 +- files/ru/web/javascript/index.html | 2 +- files/ru/web/javascript/typed_arrays/index.html | 2 +- files/ru/web/mathml/element/math/index.html | 4 ++-- files/ru/web/security/same-origin_policy/index.html | 2 +- files/ru/web/tutorials/index.html | 2 +- 45 files changed, 67 insertions(+), 67 deletions(-) (limited to 'files/ru/web') diff --git a/files/ru/web/api/canvas_api/tutorial/basic_animations/index.html b/files/ru/web/api/canvas_api/tutorial/basic_animations/index.html index 652938c355..eb1304bc4d 100644 --- a/files/ru/web/api/canvas_api/tutorial/basic_animations/index.html +++ b/files/ru/web/api/canvas_api/tutorial/basic_animations/index.html @@ -229,7 +229,7 @@ window.requestAnimationFrame(clock);

Зацикленная панорама

-

В этом примере панорама прокручивается слева направо. Мы используем фото национального парка Йосемити взятое из Википедии, но вы можете использовать любое изображение, большее элемента canvas.

+

В этом примере панорама прокручивается слева направо. Мы используем фото национального парка Йосемити взятое из Википедии, но вы можете использовать любое изображение, большее элемента canvas.

var img = new Image();
 
diff --git a/files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html b/files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html
index 913a6d47f6..666d80acbf 100644
--- a/files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html
+++ b/files/ru/web/api/canvas_api/tutorial/drawing_shapes/index.html
@@ -310,7 +310,7 @@ original_slug: Web/API/Canvas_API/Tutorial/Рисование_фигур
 
 

Безье и квадратичные кривые

-

Следующим типом доступных контуров являются  кривые Безье, и к тому же доступны в кубическом и квадратичном вариантах. Обычно они используются при рисовании сложных составных фигур.

+

Следующим типом доступных контуров являются  кривые Безье, и к тому же доступны в кубическом и квадратичном вариантах. Обычно они используются при рисовании сложных составных фигур.

{{domxref("CanvasRenderingContext2D.quadraticCurveTo", "quadraticCurveTo(cp1x, cp1y, x, y)")}}
diff --git a/files/ru/web/api/canvas_api/tutorial/drawing_text/index.html b/files/ru/web/api/canvas_api/tutorial/drawing_text/index.html index e33d9080b4..c9d29cacd2 100644 --- a/files/ru/web/api/canvas_api/tutorial/drawing_text/index.html +++ b/files/ru/web/api/canvas_api/tutorial/drawing_text/index.html @@ -80,7 +80,7 @@ original_slug: Web/API/Canvas_API/Tutorial/Рисование_текста

Эти свойства могут быть вам знакомы если вы работали с CSS.

-

Изображение от WHATWG ниже показывает различные варианты свойства textBaseline.The top of the em square is
+<p>Изображение от <a class=WHATWG ниже показывает различные варианты свойства textBaseline.The top of the em square is
 roughly at the top of the glyphs in a font, the hanging baseline is
 where some glyphs like आ are anchored, the middle is half-way
 between the top of the em square and the bottom of the em square,
diff --git a/files/ru/web/api/canvas_api/tutorial/index.html b/files/ru/web/api/canvas_api/tutorial/index.html
index 0027029c08..cd0e99eb32 100644
--- a/files/ru/web/api/canvas_api/tutorial/index.html
+++ b/files/ru/web/api/canvas_api/tutorial/index.html
@@ -39,14 +39,14 @@ translation_of: Web/API/Canvas_API/Tutorial
  <li><a href=Canvas topic page

  • Drawing Graphics with Canvas
  • Canvas examples
  • -
  • HTML5 Tutorial
  • +
  • HTML5 Tutorial
  • Drawing Text Using a Canvas
  • Adding Text to Canvas
  • -
  • Canvas Drawing and Animation Application
  • -
  • Interactive canvas tutorial
  • -
  • HTML5CanvasTutorials
  • -
  • How to draw N grade Bézier curves with the Canvas API
  • -
  • W3C Standard
  • +
  • Canvas Drawing and Animation Application
  • +
  • Interactive canvas tutorial
  • +
  • HTML5CanvasTutorials
  • +
  • How to draw N grade Bézier curves with the Canvas API
  • +
  • W3C Standard
  • Примечание для помощников

    diff --git a/files/ru/web/api/canvasrenderingcontext2d/index.html b/files/ru/web/api/canvasrenderingcontext2d/index.html index 0a3102abc6..9c0b96cf49 100644 --- a/files/ru/web/api/canvasrenderingcontext2d/index.html +++ b/files/ru/web/api/canvasrenderingcontext2d/index.html @@ -330,7 +330,7 @@ ctx.fillRect(10, 10, 55, 50);
    {{non-standard_inline}} CanvasRenderingContext2D.mozCurrentTransformInverse
    Sets or gets the current inversed transformation matrix.  {{ gecko_minversion_inline("7.0") }}
    {{non-standard_inline}} CanvasRenderingContext2D.mozFillRule
    -
    The fill rule to use. This must be one of evenodd or nonzero (default).
    +
    The fill rule to use. This must be one of evenodd or nonzero (default).
    {{non-standard_inline}} CanvasRenderingContext2D.mozImageSmoothingEnabled
    See {{domxref("CanvasRenderingContext2D.imageSmoothingEnabled")}}.
    {{non-standard_inline}} {{deprecated_inline}} CanvasRenderingContext2D.mozDash
    @@ -364,7 +364,7 @@ ctx.fillRect(10, 10, 55, 50);
    {{non-standard_inline}} CanvasRenderingContext2D.msFillRule
    -
    The fill rule to use. This must be one of evenodd or nonzero (default).
    +
    The fill rule to use. This must be one of evenodd or nonzero (default).

    Спецификации

    diff --git a/files/ru/web/api/console/index.html b/files/ru/web/api/console/index.html index 492da3d118..1e4c4350ad 100644 --- a/files/ru/web/api/console/index.html +++ b/files/ru/web/api/console/index.html @@ -238,7 +238,7 @@ function foo() {
    • По крайней мере в Firefox, если страница определяет свой объект console, то этот объект переопределяет объект console, встроенный в Firefox.
    • До {{Gecko("12.0")}}, методы объекта console работали только, если открыта панель "Веб-консоль" (Web Console). Начиная с {{Gecko("12.0")}}, вывод кешируется до тех пор, пока панель Веб-консоль не откроется, и сразу отобразится в ней.
    • -
    • Стоит отметить, что встроенный в Firefox объект console совместим с таким же объектом, предоставляемым плагином Firebug.
    • +
    • Стоит отметить, что встроенный в Firefox объект console совместим с таким же объектом, предоставляемым плагином Firebug.

    Смотрите также

    diff --git a/files/ru/web/api/css_object_model/managing_screen_orientation/index.html b/files/ru/web/api/css_object_model/managing_screen_orientation/index.html index e9c182cf04..34c3cb7125 100644 --- a/files/ru/web/api/css_object_model/managing_screen_orientation/index.html +++ b/files/ru/web/api/css_object_model/managing_screen_orientation/index.html @@ -180,5 +180,5 @@ li {
  • {{domxref("Screen.unlockOrientation()")}}
  • {{domxref("Screen.onorientationchange")}}
  • The orientation media query
  • -
  • A short introduction to media queries in Firefox 3.5
  • +
  • A short introduction to media queries in Firefox 3.5
  • diff --git a/files/ru/web/api/cssconditionrule/index.html b/files/ru/web/api/cssconditionrule/index.html index eb96a94c97..e2b6df470b 100644 --- a/files/ru/web/api/cssconditionrule/index.html +++ b/files/ru/web/api/cssconditionrule/index.html @@ -11,7 +11,7 @@ translation_of: Web/API/CSSConditionRule

    Syntax

    -

    The syntax is described using the WebIDL format.

    +

    The syntax is described using the WebIDL format.

    interface CSSConditionRule : CSSGroupingRule {
         attribute DOMString conditionText;
    diff --git a/files/ru/web/api/domparser/index.html b/files/ru/web/api/domparser/index.html
    index 674d0a9960..3a4dc64d32 100644
    --- a/files/ru/web/api/domparser/index.html
    +++ b/files/ru/web/api/domparser/index.html
    @@ -10,7 +10,7 @@ translation_of: Web/API/DOMParser
     ---
     

    {{APIRef("DOM")}}{{SeeCompatTable}}

    -

    DOMParser может парсить XML или HTML источник содержащийся в строке в DOM Document. Спецификация DOMParser находится в DOM Parsing and Serialization.

    +

    DOMParser может парсить XML или HTML источник содержащийся в строке в DOM Document. Спецификация DOMParser находится в DOM Parsing and Serialization.

    Заметьте, что XMLHttpRequest поддерживает парсинг XML и HTML из интернет ресурсов (по ссылке)

    diff --git a/files/ru/web/api/event/stoppropagation/index.html b/files/ru/web/api/event/stoppropagation/index.html index 085d9b3907..1a3242dd9b 100644 --- a/files/ru/web/api/event/stoppropagation/index.html +++ b/files/ru/web/api/event/stoppropagation/index.html @@ -61,7 +61,7 @@ translation_of: Web/API/Event/stopPropagation

    Спецификация

    Смотрите также

    diff --git a/files/ru/web/api/node/clonenode/index.html b/files/ru/web/api/node/clonenode/index.html index aa6755e79e..4628c7e28c 100644 --- a/files/ru/web/api/node/clonenode/index.html +++ b/files/ru/web/api/node/clonenode/index.html @@ -58,5 +58,5 @@ translation_of: Web/API/Node/cloneNode
    • {{Spec("http://w3.org/TR/DOM-Level-2-Core/core.html#ID-3A0ED0A4","DOM Level 2 Core: cloneNode","REC")}}
    • {{Spec("http://w3.org/TR/DOM-Level-3-Core/core.html#ID-3A0ED0A4","DOM Level 3 Core: cloneNode","REC")}}
    • -
    • DOM4: cloneNode (черновик)
    • +
    • DOM4: cloneNode (черновик)
    diff --git a/files/ru/web/api/node/comparedocumentposition/index.html b/files/ru/web/api/node/comparedocumentposition/index.html index d2972a7ab8..2a3be58168 100644 --- a/files/ru/web/api/node/comparedocumentposition/index.html +++ b/files/ru/web/api/node/comparedocumentposition/index.html @@ -70,12 +70,12 @@ if (head.compareDocumentPosition(document.body) & Node.DOCUMENT_POSITION_FOL Комментарий - DOM Level 3 + DOM Level 3 Рекомендация   - DOM Standard + DOM Standard Живой стандарт   @@ -84,6 +84,6 @@ if (head.compareDocumentPosition(document.body) & Node.DOCUMENT_POSITION_FOL

    Смотрите также

    {{ languages( {"ru-ru": "ru-ru/DOM/Node.compareDocumentPosition" } ) }}

    diff --git a/files/ru/web/api/node/lookupnamespaceuri/index.html b/files/ru/web/api/node/lookupnamespaceuri/index.html index 4dc20c5c52..3bcea97de1 100644 --- a/files/ru/web/api/node/lookupnamespaceuri/index.html +++ b/files/ru/web/api/node/lookupnamespaceuri/index.html @@ -7,7 +7,7 @@ translation_of: Web/API/Node/lookupNamespaceURI

    Метод Node.lookupNamespaceURI() берёт префикс и возвращает пространство имён URI связанное с ним в данном узле, если найден (и null если нет). Устанавливает null для префикса который возвращает пространство имён по умолчанию.

    -

    Из-за ошибки bug 312019, этот метод не работает с динамическим назначением пространства имён (т.е., с уставленным тем же Node.prefix).

    +

    Из-за ошибки bug 312019, этот метод не работает с динамическим назначением пространства имён (т.е., с уставленным тем же Node.prefix).

    Смотрите также

    diff --git a/files/ru/web/api/node/lookupprefix/index.html b/files/ru/web/api/node/lookupprefix/index.html index 7a763c983c..c03afc9577 100644 --- a/files/ru/web/api/node/lookupprefix/index.html +++ b/files/ru/web/api/node/lookupprefix/index.html @@ -7,7 +7,7 @@ translation_of: Web/API/Node/lookupPrefix

    Метод Node.lookupPrefix() возвращает {{domxref("DOMString")}} содержащий префикс для данного пространства имён URI, если он присутствует, и null если нет. Когда возможно присутствие нескольких префиксов, результат зависит от реализации.

    -

    Из-за ошибки bug 312019, этот метод не работает с динамическим назначением пространства имён, которое установлено с тем же свойством {{domxref("Node.prefix")}}.

    +

    Из-за ошибки bug 312019, этот метод не работает с динамическим назначением пространства имён, которое установлено с тем же свойством {{domxref("Node.prefix")}}.

    Смотрите также

    diff --git a/files/ru/web/api/performance/now/index.html b/files/ru/web/api/performance/now/index.html index 1d5a9431c8..82dae485f2 100644 --- a/files/ru/web/api/performance/now/index.html +++ b/files/ru/web/api/performance/now/index.html @@ -66,5 +66,5 @@ console.log("Call to doSomething took " + (t1 - t0) + " milliseconds.")

    Смотрите также

    diff --git a/files/ru/web/api/server-sent_events/index.html b/files/ru/web/api/server-sent_events/index.html index f77249df1b..a94e541033 100644 --- a/files/ru/web/api/server-sent_events/index.html +++ b/files/ru/web/api/server-sent_events/index.html @@ -50,7 +50,7 @@ translation_of: Web/API/Server-sent_events @@ -66,7 +66,7 @@ translation_of: Web/API/Server-sent_events

    Other resources

    diff --git a/files/ru/web/api/serviceworkerregistration/shownotification/index.html b/files/ru/web/api/serviceworkerregistration/shownotification/index.html index 6d511452e4..e02e7e09dd 100644 --- a/files/ru/web/api/serviceworkerregistration/shownotification/index.html +++ b/files/ru/web/api/serviceworkerregistration/shownotification/index.html @@ -39,7 +39,7 @@ translation_of: Web/API/ServiceWorkerRegistration/showNotification
  • dir : The direction of the notification; it can be auto, ltr, or rtl
  • icon: URL или base64 версия картинки, которая отображается рядом с уведомлением.
  • image: URL {{domxref("USVSTring")}} картинки, которая отображается внутри уведомления.
  • -
  • lang: Specify the lang used within the notification. This string must be a valid BCP 47 language tag.
  • +
  • lang: Specify the lang used within the notification. This string must be a valid BCP 47 language tag.
  • renotify: A boolean that indicates whether to supress vibrations and audible alerts when resusing a tag value. The default is false.
  • requireInteraction: Indicates that on devices with sufficiently large screens, a notification should remain active until the user clicks or dismisses it. If this value is absent or false, the desktop version of Chrome will auto-minimize notifications after approximately twenty seconds. The default value is false.
  • tag: An ID for a given notification that allows you to find, replace, or remove the notification using script if necessary.
  • diff --git a/files/ru/web/api/web_audio_api/index.html b/files/ru/web/api/web_audio_api/index.html index 5617e2b179..9bfa53d259 100644 --- a/files/ru/web/api/web_audio_api/index.html +++ b/files/ru/web/api/web_audio_api/index.html @@ -89,7 +89,7 @@ translation_of: Web/API/Web_Audio_API
    {{domxref("ConvolverNode")}}
    ConvolverNode это {{domxref("AudioNode")}} выполняющий линейную свёртку AudioBuffer, часто применяется для достижения эффекта реверберации по заданной импульсной характеристике.
    {{domxref("DelayNode")}}
    -
    DelayNode представляет собой линию задержки (delay-line); содержит {{domxref("AudioNode")}} вызывающий задержку между выходным и входным сигналом.
    +
    DelayNode представляет собой линию задержки (delay-line); содержит {{domxref("AudioNode")}} вызывающий задержку между выходным и входным сигналом.
    {{domxref("DynamicsCompressorNode")}}
    The DynamicsCompressorNode interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once.
    {{domxref("GainNode")}}
    @@ -390,8 +390,8 @@ function voiceMute() { // toggle to mute and unmute sound
  • Voice-change-O-matic example
  • Violent Theremin example
  • Web audio spatialisation basics
  • -
  • Mixing Positional Audio and WebGL
  • -
  • Developing Game Audio with the Web Audio API
  • +
  • Mixing Positional Audio and WebGL
  • +
  • Developing Game Audio with the Web Audio API
  • Porting webkitAudioContext code to standards based AudioContext
  • Tones: a simple library for playing specific tones/notes using the Web Audio API.
  • howler.js: a JS audio library that defaults to Web Audio API and falls back to HTML5 Audio, as well as providing other useful features.
  • diff --git a/files/ru/web/api/webgl_api/index.html b/files/ru/web/api/webgl_api/index.html index 8a95619575..8827706561 100644 --- a/files/ru/web/api/webgl_api/index.html +++ b/files/ru/web/api/webgl_api/index.html @@ -9,7 +9,7 @@ translation_of: Web/API/WebGL_API

    WebGL (Web Graphics Library) - программная библиотека для языка JavaScript предназначенная для визуализации интерактивной трёхмерной графики и двухмерной графики в пределах совместимости веб-браузера без использования плагинов. WebGL приносит в веб трёхмерную графику, вводя API, который построен на основе OpenGL ES 2.0, что позволяет его использовать в элементах canvas HTML5 .

    -

    Поддержка WebGL присутствует в Firefox 4+, Google Chrome 9+, Opera 12+, Safari 5.1+ и Internet Explorer 11+. Однако помимо поддержки WebGL браузером, необходима также его поддержка графическим процессором клиента.

    +

    Поддержка WebGL присутствует в Firefox 4+, Google Chrome 9+, Opera 12+, Safari 5.1+ и Internet Explorer 11+. Однако помимо поддержки WebGL браузером, необходима также его поддержка графическим процессором клиента.

    diff --git a/files/ru/web/api/webgl_api/tutorial/getting_started_with_webgl/index.html b/files/ru/web/api/webgl_api/tutorial/getting_started_with_webgl/index.html index 733f280271..8ff610ae34 100644 --- a/files/ru/web/api/webgl_api/tutorial/getting_started_with_webgl/index.html +++ b/files/ru/web/api/webgl_api/tutorial/getting_started_with_webgl/index.html @@ -7,7 +7,7 @@ translation_of: Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL ---

    {{WebGLSidebar("Tutorial")}} {{Next("Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context")}}

    -

    WebGL позволяет веб-контенту использовать API, основанный на OpenGL ES 2.0, для визуализации трёхмерной графики без использования плагинов в HTML элементе canvas в браузерах, которые осуществляют его поддержку. WebGL программы состоят из кода управления, написанном на JavaScript и кода специальных эффектов (шейдерного кода), который выполняется на графическом процессоре. WebGL элементы могут быть смешаны с другими HTML элементами и собраны с другими частями веб-страницы или фоном веб-страницы.

    +

    WebGL позволяет веб-контенту использовать API, основанный на OpenGL ES 2.0, для визуализации трёхмерной графики без использования плагинов в HTML элементе canvas в браузерах, которые осуществляют его поддержку. WebGL программы состоят из кода управления, написанном на JavaScript и кода специальных эффектов (шейдерного кода), который выполняется на графическом процессоре. WebGL элементы могут быть смешаны с другими HTML элементами и собраны с другими частями веб-страницы или фоном веб-страницы.

    Эта статья знакомит вас с основами использования WebGL. Предполагается, что вы уже знакомы с математическими основами трёхмерной графики. Данная статья не обучит вас OpenGL.

    diff --git a/files/ru/web/api/webgl_api/tutorial/index.html b/files/ru/web/api/webgl_api/tutorial/index.html index 95208cd1f4..10a59240e2 100644 --- a/files/ru/web/api/webgl_api/tutorial/index.html +++ b/files/ru/web/api/webgl_api/tutorial/index.html @@ -8,7 +8,7 @@ translation_of: Web/API/WebGL_API/Tutorial
    {{WebGLSidebar}}
    -

    WebGL позволяет использовать API, основанную на OpenGL ES 2.0  для осуществления 3D рендеринга в HTML {{HTMLElement("canvas")}} в браузерах, которые его поддерживают без использования плагинов. WebGL программы состоят из программ, написанных на JavaScript, и специального кода шейдеров, который выполняется на видеокарте. WebGL элементы  могут использоваться с HTML элементами и скомпонованы с другими частями страницы или фона страницы.

    +

    WebGL позволяет использовать API, основанную на OpenGL ES 2.0  для осуществления 3D рендеринга в HTML {{HTMLElement("canvas")}} в браузерах, которые его поддерживают без использования плагинов. WebGL программы состоят из программ, написанных на JavaScript, и специального кода шейдеров, который выполняется на видеокарте. WebGL элементы  могут использоваться с HTML элементами и скомпонованы с другими частями страницы или фона страницы.

    В этом руководстве с нуля рассказывается о том, как использовать элемент<canvas> для отрисовки WebGL. Предоставленные примеры помогут вам понять, как можно использовать WebGL, также вы сможете использовать код из примеров как сниппеты для ваших разработок.

    diff --git a/files/ru/web/api/websockets_api/index.html b/files/ru/web/api/websockets_api/index.html index 79a1cf3051..e4104ea4ba 100644 --- a/files/ru/web/api/websockets_api/index.html +++ b/files/ru/web/api/websockets_api/index.html @@ -27,8 +27,8 @@ original_slug: WebSockets

    Tools

    diff --git a/files/ru/web/api/window/getcomputedstyle/index.html b/files/ru/web/api/window/getcomputedstyle/index.html index 0acceae418..15c8e0b858 100644 --- a/files/ru/web/api/window/getcomputedstyle/index.html +++ b/files/ru/web/api/window/getcomputedstyle/index.html @@ -79,7 +79,7 @@ var style = window.getComputedStyle(elem1, null);

    defaultView

    -

    Во многих примерах кода, getComputedStyle используется из объекта document.defaultView. Почти во всех случаях это не нужно, поскольку getComputedStyle существует в объекте window. Это что-то на подобии шаблона defaultView который был некой прослойкой. Люди не хотели писать спецификацию для window и создавали API  которое также могло использоваться для Java. Так или иначе есть только один случай когда метод defaultView должен использоваться: когда вы используете Firefox 3.6 чтобы получить доступ к вычисленным стилям.

    +

    Во многих примерах кода, getComputedStyle используется из объекта document.defaultView. Почти во всех случаях это не нужно, поскольку getComputedStyle существует в объекте window. Это что-то на подобии шаблона defaultView который был некой прослойкой. Люди не хотели писать спецификацию для window и создавали API  которое также могло использоваться для Java. Так или иначе есть только один случай когда метод defaultView должен использоваться: когда вы используете Firefox 3.6 чтобы получить доступ к вычисленным стилям.

    Использования с псевдо-элементами

    @@ -119,7 +119,7 @@ var style = window.getComputedStyle(elem1, null);

    Смотреть также

    diff --git a/files/ru/web/api/window/localstorage/index.html b/files/ru/web/api/window/localstorage/index.html index cd45e8fa12..2f25eb7532 100644 --- a/files/ru/web/api/window/localstorage/index.html +++ b/files/ru/web/api/window/localstorage/index.html @@ -83,7 +83,7 @@ translation_of: Web/API/Window/localStorage

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

    -

    Все браузеры имеют различный уровень объёма для localStorage и sessionStorage. Здесь подробное описание объёма хранилищ для разных браузеров.

    +

    Все браузеры имеют различный уровень объёма для localStorage и sessionStorage. Здесь подробное описание объёма хранилищ для разных браузеров.

    Смотрите также

    diff --git a/files/ru/web/api/windoworworkerglobalscope/btoa/index.html b/files/ru/web/api/windoworworkerglobalscope/btoa/index.html index faae953fbd..24f0c7ab38 100644 --- a/files/ru/web/api/windoworworkerglobalscope/btoa/index.html +++ b/files/ru/web/api/windoworworkerglobalscope/btoa/index.html @@ -30,7 +30,7 @@ var decodedData = window.atob(encodedData); // decode the string

    В большинстве браузеров, вызов window.btoa() на Unicode строке выбросит исключение Character Out Of Range (Символ вне допустимого диапазона).

    -

    Чтобы избежать этого, воспользуйтесь паттерном, предложенным Johan Sundström:

    +

    Чтобы избежать этого, воспользуйтесь паттерном, предложенным Johan Sundström:

    function utf8_to_b64(str) {
         return window.btoa(unescape(encodeURIComponent(str)));
    diff --git a/files/ru/web/api/windoworworkerglobalscope/settimeout/index.html b/files/ru/web/api/windoworworkerglobalscope/settimeout/index.html
    index d8c826dd5c..dbc08996a2 100644
    --- a/files/ru/web/api/windoworworkerglobalscope/settimeout/index.html
    +++ b/files/ru/web/api/windoworworkerglobalscope/settimeout/index.html
    @@ -228,19 +228,19 @@ window.setTimeout("alert(\"Hello World!\");", 500);
     
     

    Минимальная/ максимальная задержка и вложенность таймаута

    -

    Historically browsers implement setTimeout() "clamping": successive setTimeout() calls with delay smaller than the "minimum delay" limit are forced to use at least the minimum delay. The minimum delay, DOM_MIN_TIMEOUT_VALUE, is 4 ms (stored in a preference in Firefox: dom.min_timeout_value), with a DOM_CLAMP_TIMEOUT_NESTING_LEVEL of 5ms.

    +

    Historically browsers implement setTimeout() "clamping": successive setTimeout() calls with delay smaller than the "minimum delay" limit are forced to use at least the minimum delay. The minimum delay, DOM_MIN_TIMEOUT_VALUE, is 4 ms (stored in a preference in Firefox: dom.min_timeout_value), with a DOM_CLAMP_TIMEOUT_NESTING_LEVEL of 5ms.

    In fact, 4ms is specified by the HTML5 spec and is consistent across browsers released in 2010 and onward. Prior to {{ geckoRelease("5.0") }}, the minimum timeout value for nested timeouts was 10 ms.

    In addition to "clamping", the timeout can also fire later when the page (or the OS/browser itself) is busy with other tasks.

    -

    To implement a 0 ms timeout in a modern browser, you can use {{ domxref("window.postMessage()") }} as described here.

    +

    To implement a 0 ms timeout in a modern browser, you can use {{ domxref("window.postMessage()") }} as described here.

    Browsers including Internet Explorer, Chrome, Safari, and Firefox store the delay as a 32-bit signed Integer internally. This causes an Integer overflow when using delays larger than 2147483647, resulting in the timeout being executed immediately.

    Неактивные вкладки

    -

    In {{ geckoRelease("5.0") }} and Chrome 11, timeouts are clamped to firing no more often than once per second (1000ms) in inactive tabs; see {{ bug(633421) }} for more information about this in Mozilla or crbug.com/66078 for details about this in Chrome.

    +

    In {{ geckoRelease("5.0") }} and Chrome 11, timeouts are clamped to firing no more often than once per second (1000ms) in inactive tabs; see {{ bug(633421) }} for more information about this in Mozilla or crbug.com/66078 for details about this in Chrome.

    Совместимость с браузерами

    @@ -248,7 +248,7 @@ window.setTimeout("alert(\"Hello World!\");", 500);

    Спецификация

    -

    Part of DOM level 0, as specified in HTML5.

    +

    Part of DOM level 0, as specified in HTML5.

    Также интересно

    diff --git a/files/ru/web/html/element/a/index.html b/files/ru/web/html/element/a/index.html index d586f4dd87..fa4ba957dc 100644 --- a/files/ru/web/html/element/a/index.html +++ b/files/ru/web/html/element/a/index.html @@ -70,7 +70,7 @@ translation_of: Web/HTML/Element/a
    {{htmlattrdef("hreflang")}}
    -
    Этот атрибут сообщает язык документа по ссылке. Это чисто контрольная информация. Разрешённые значения определены в BCP47 для HTML5 и RFC1766 для HTML4. Используйте этот атрибут, только если задан {{htmlattrxref("href", "a")}}.
    +
    Этот атрибут сообщает язык документа по ссылке. Это чисто контрольная информация. Разрешённые значения определены в BCP47 для HTML5 и RFC1766 для HTML4. Используйте этот атрибут, только если задан {{htmlattrxref("href", "a")}}.
    {{htmlattrdef("ping")}} {{HTMLVersionInline(5)}}
    Этот атрибут уведомляет указанные в нём URL, что пользователь перешёл по ссылке.
    {{htmlattrdef("referrerpolicy")}} {{experimental_inline}}
    diff --git a/files/ru/web/html/element/form/index.html b/files/ru/web/html/element/form/index.html index 37ca534468..4541d113fb 100644 --- a/files/ru/web/html/element/form/index.html +++ b/files/ru/web/html/element/form/index.html @@ -27,7 +27,7 @@ translation_of: Web/HTML/Element/form
    - +
    Нормативный документHTML5, section 4.10.3 (HTML4.01, section 17.3)HTML5, section 4.10.3 (HTML4.01, section 17.3)
    diff --git a/files/ru/web/html/element/tfoot/index.html b/files/ru/web/html/element/tfoot/index.html index ba83e421fe..ee56d66a61 100644 --- a/files/ru/web/html/element/tfoot/index.html +++ b/files/ru/web/html/element/tfoot/index.html @@ -32,7 +32,7 @@ translation_of: Web/HTML/Element/tfoot Нормативные документы - HTML5, section 4.9.7 (HTML4.01, section 11.2.3) + HTML5, section 4.9.7 (HTML4.01, section 11.2.3) diff --git a/files/ru/web/http/headers/index.html b/files/ru/web/http/headers/index.html index d03aa1d1d5..0c9f507e18 100644 --- a/files/ru/web/http/headers/index.html +++ b/files/ru/web/http/headers/index.html @@ -341,7 +341,7 @@ original_slug: Web/HTTP/Заголовки

    For the rel=prefetch case, see Link Prefetching FAQ

    -

    Introduced in HTTP 1.1's RFC 2068, section 19.6.2.4, it was removed in the final HTTP 1.1 spec, then reintroduced, with some extensions, in RFC 5988

    +

    Introduced in HTTP 1.1's RFC 2068, section 19.6.2.4, it was removed in the final HTTP 1.1 spec, then reintroduced, with some extensions, in RFC 5988

    diff --git a/files/ru/web/http/index.html b/files/ru/web/http/index.html index 7c653c6da3..0783209d1d 100644 --- a/files/ru/web/http/index.html +++ b/files/ru/web/http/index.html @@ -55,7 +55,7 @@ translation_of: Web/HTTP
    HTTP-заголовки (HTTP Headers)
    -
    Заголовки HTTP-сообщения используются для точного описания загружаемого ресурса или поведения сервера или клиента. Пользовательские заголовки можно добавить, используя X- префикс; другие перечислены в  IANA registry, содержание которого в свою очередь определено в RFC 4229. IANA так же поддерживает регистр предложенных новых HTTP-заголовков.
    +
    Заголовки HTTP-сообщения используются для точного описания загружаемого ресурса или поведения сервера или клиента. Пользовательские заголовки можно добавить, используя X- префикс; другие перечислены в  IANA registry, содержание которого в свою очередь определено в RFC 4229. IANA так же поддерживает регистр предложенных новых HTTP-заголовков.
    Методы HTTP-запроса
    Различные операции, которые выполняются с HTTP:
      diff --git a/files/ru/web/javascript/data_structures/index.html b/files/ru/web/javascript/data_structures/index.html index 7941ee07b1..d847637fd6 100644 --- a/files/ru/web/javascript/data_structures/index.html +++ b/files/ru/web/javascript/data_structures/index.html @@ -306,5 +306,5 @@ Infinity diff --git a/files/ru/web/javascript/index.html b/files/ru/web/javascript/index.html index 0e29c2efb4..3b6b10c59e 100644 --- a/files/ru/web/javascript/index.html +++ b/files/ru/web/javascript/index.html @@ -17,7 +17,7 @@ translation_of: Web/JavaScript
      {{JsSidebar()}}
      -

      JavaScript® (часто просто JS) — это легковесный, интерпретируемый или JIT-компилируемый, объектно-ориентированный язык с {{Glossary("First-class_Function", "функциями первого класса")}}. Наиболее широкое применение находит как язык сценариев веб-страниц, но также используется и в других программных продуктах, например, node.js или Apache CouchDB. JavaScript это {{Glossary("Prototype-based_programming", "прототипно-ориентированный")}}, мультипарадигменный язык с динамической типизацией, который поддерживает объектно-ориентированный, императивный и декларативный (например, функциональное программирование) стили программирования. Подробнее о JavaScript.

      +

      JavaScript® (часто просто JS) — это легковесный, интерпретируемый или JIT-компилируемый, объектно-ориентированный язык с {{Glossary("First-class_Function", "функциями первого класса")}}. Наиболее широкое применение находит как язык сценариев веб-страниц, но также используется и в других программных продуктах, например, node.js или Apache CouchDB. JavaScript это {{Glossary("Prototype-based_programming", "прототипно-ориентированный")}}, мультипарадигменный язык с динамической типизацией, который поддерживает объектно-ориентированный, императивный и декларативный (например, функциональное программирование) стили программирования. Подробнее о JavaScript.

      Эта часть сайта посвящена самому языку JavaScript, и она не затрагивает тонкостей, связанных с веб-страницами или окружением, в котором исполняется JavaScript. Информация об {{Glossary("API")}}, относящихся к веб-страницам, находится в разделах, посвящённых Веб-API и DOM.

      diff --git a/files/ru/web/javascript/typed_arrays/index.html b/files/ru/web/javascript/typed_arrays/index.html index b189bf72ce..4680f4fc9e 100644 --- a/files/ru/web/javascript/typed_arrays/index.html +++ b/files/ru/web/javascript/typed_arrays/index.html @@ -117,7 +117,7 @@ var amountDueView = new Float32Array(buffer, 20, 1);

    Теперь получить или изменить значение поля amountDue, к примеру, можно путём обращения к amountDueView[0].

    -
    Примечание: Выравнивание данных в языке C является платформозависимым. Принимайте меры по вычислению правильных отступов в данных с учётом выравнивания.
    +
    Примечание: Выравнивание данных в языке C является платформозависимым. Принимайте меры по вычислению правильных отступов в данных с учётом выравнивания.

    Преобразование в обычные массивы

    diff --git a/files/ru/web/mathml/element/math/index.html b/files/ru/web/mathml/element/math/index.html index ba6dcfda1e..15e951f867 100644 --- a/files/ru/web/mathml/element/math/index.html +++ b/files/ru/web/mathml/element/math/index.html @@ -5,7 +5,7 @@ translation_of: Web/MathML/Element/math ---

    {{MathMLRef()}}

    -

    Элементом верхнего уровня в MathML является тэг <math> . Каждый допустимый экземпляр MathML должен быть внутри этого контейнера. Он не допускает вложений, но внутри может быть произвольное число других дочерних элементов.

    +

    Элементом верхнего уровня в MathML является тэг <math> . Каждый допустимый экземпляр MathML должен быть внутри этого контейнера. Он не допускает вложений, но внутри может быть произвольное число других дочерних элементов.

    Атрибуты

    @@ -130,7 +130,7 @@ translation_of: Web/MathML/Element/math

    Особенности ядра Gecko

    -

    В Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4) появилась поддержка всех MathML атрибутов для элементов верхнего уровня (т.е. такое же поведение как <mstyle> элемента). Тем не менее, displaystyle атрибут не отрабатывается. Его поддержка была добавлена ​​в Gecko 8.0 (Firefox 8.0 / Thunderbird 8.0 / SeaMonkey 2.5).

    +

    В Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4) появилась поддержка всех MathML атрибутов для элементов верхнего уровня (т.е. такое же поведение как <mstyle> элемента). Тем не менее, displaystyle атрибут не отрабатывается. Его поддержка была добавлена ​​в Gecko 8.0 (Firefox 8.0 / Thunderbird 8.0 / SeaMonkey 2.5).

    Альтернативные текстовые описания (alttext) или ссылки на альтернативное изображение, (атрибуты altimg , altimg-width , altimg-height и altimg-valign) в настоящее время не реализованы в Gecko.

    diff --git a/files/ru/web/security/same-origin_policy/index.html b/files/ru/web/security/same-origin_policy/index.html index d9be405f95..983224f0ec 100644 --- a/files/ru/web/security/same-origin_policy/index.html +++ b/files/ru/web/security/same-origin_policy/index.html @@ -101,7 +101,7 @@ translation_of: Web/Security/Same-origin_policy