aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/canvasrenderingcontext2d/filltext/index.html')
-rw-r--r--files/ru/web/api/canvasrenderingcontext2d/filltext/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html b/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html
index 74b759b2b1..47d83f96e4 100644
--- a/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html
+++ b/files/ru/web/api/canvasrenderingcontext2d/filltext/index.html
@@ -11,7 +11,7 @@ translation_of: Web/API/CanvasRenderingContext2D/fillText
<h2 id="Синтаксис">Синтаксис</h2>
-<pre class="syntaxbox notranslate">void <var><em>ctx</em>.fillText(text, x, y [, maxWidth]);</var>
+<pre class="syntaxbox">void <var><em>ctx</em>.fillText(text, x, y [, maxWidth]);</var>
</pre>
<h3 id="Параметры">Параметры</h3>
@@ -38,12 +38,12 @@ translation_of: Web/API/CanvasRenderingContext2D/fillText
<h4 id="HTML">HTML</h4>
-<pre class="brush: html notranslate">&lt;canvas id="canvas"&gt;&lt;/canvas&gt;
+<pre class="brush: html">&lt;canvas id="canvas"&gt;&lt;/canvas&gt;
</pre>
<h4 id="JavaScript">JavaScript</h4>
-<pre class="brush: js; highlight:[5] notranslate">var canvas = document.getElementById("canvas");
+<pre class="brush: js; highlight:[5]">var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
ctx.font = "48px serif";
@@ -55,7 +55,7 @@ ctx.fillText("Hello world", 50, 100);
<div class="hidden">
<h6 id="Playable_code">Playable code</h6>
-<pre class="brush: html notranslate">&lt;canvas id="canvas" width="400" height="200" class="playable-canvas"&gt;&lt;/canvas&gt;
+<pre class="brush: html">&lt;canvas id="canvas" width="400" height="200" class="playable-canvas"&gt;&lt;/canvas&gt;
&lt;div class="playable-buttons"&gt;
  &lt;input id="edit" type="button" value="Edit" /&gt;
  &lt;input id="reset" type="button" value="Reset" /&gt;
@@ -65,7 +65,7 @@ ctx.font = "48px serif";
ctx.fillText("Hello world", 50, 100);&lt;/textarea&gt;
</pre>
-<pre class="brush: js notranslate">var canvas = document.getElementById("canvas");
+<pre class="brush: js">var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
var textarea = document.getElementById("code");
var reset = document.getElementById("reset");