Skip to content

Commit

Permalink
Editorial: remove more obsolete canvas worker text
Browse files Browse the repository at this point in the history
Rendering context binding and unbinding dates back to 285b52f, which was mostly removed in #790.
  • Loading branch information
annevk committed Jan 22, 2018
1 parent 404321b commit 02a0c89
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -60062,49 +60062,6 @@ context.fillRect(100,0,50,50); // only this square remains</pre>

<hr>

<p>When the user agent is to run the <dfn data-x="concept-canvas-unbinding-steps">unbinding
steps</dfn> for a rendering context, it must run these steps:</p>

<ol>

<li><p><span>Reset the rendering context to its default state</span>.</p></li>

<li><p>Clear the <code>CanvasRenderingContext2D</code> object's <span>output bitmap</span> to
<span>transparent black</span>.</p></li>

<!--ADD-TOPIC:Security-->
<li><p>Set the <code>CanvasRenderingContext2D</code> object's <span
data-x="concept-canvas-origin-clean">origin-clean</span> flag to true.</p></li>
<!--REMOVE-TOPIC:Security-->

<li><p>Let the <code>CanvasRenderingContext2D</code> object have no <span>output
bitmap</span>.</p></li>

</ol>

<p>When the user agent is to run the <dfn data-x="concept-canvas-binding-steps">binding
steps</dfn> to bind the rendering context to the <code>canvas</code> element <var>target</var>, it
must run these steps:</p>

<ol>

<li><p><span>Reset the rendering context to its default state</span>.</p></li>

<li><p>Resize the <code>CanvasRenderingContext2D</code> object's <span>output bitmap</span> to
the dimensions of <var>target</var>'s bitmap and clear it to <span>transparent
black</span>.</p></li>

<!--ADD-TOPIC:Security-->
<li><p>Set the <code>CanvasRenderingContext2D</code> object's <span
data-x="concept-canvas-origin-clean">origin-clean</span> flag to true.</p></li>
<!--REMOVE-TOPIC:Security-->

<li><p>Let the <code>CanvasRenderingContext2D</code> object's <span>output bitmap</span> be <var>target</var>'s bitmap.</p></li>

</ol>

<hr>

<p>The <dfn><code data-x="dom-context-2d-canvas">canvas</code></dfn> attribute must return the
value it was initialized to when the object was created.</p>

Expand Down

0 comments on commit 02a0c89

Please sign in to comment.