Skip to content

Commit

Permalink
[e] (0) try to tweak the text on initializing the canvas
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3993 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 24, 2009
1 parent bc96eb6 commit fa08e40
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
20 changes: 8 additions & 12 deletions index
Expand Up @@ -24149,13 +24149,16 @@ interface <dfn>CueRangeCallback</dfn> {
pixels per unit in the coordinate space, so that the rendering
remains at high quality throughout.</p>

<p>Whenever the <code title=attr-canvas-width><a href=#attr-canvas-width>width</a></code> and
<code title=attr-canvas-height><a href=#attr-canvas-height>height</a></code> attributes are set
(whether to a new value or to the previous value), the bitmap and
any associated contexts must be cleared back to their initial state
and reinitialized with the newly specified coordinate space
<p>When the <code><a href=#the-canvas-element>canvas</a></code> element is created, and subsequently
whenever the <code title=attr-canvas-width><a href=#attr-canvas-width>width</a></code> and <code title=attr-canvas-height><a href=#attr-canvas-height>height</a></code> attributes are set (whether
to a new value or to the previous value), the bitmap and any
associated contexts must be cleared back to their initial state and
reinitialized with the newly specified coordinate space
dimensions.</p>

<p>When the canvas is initialized, its bitmap must be cleared to
transparent black.</p>

<p>The <dfn id=dom-canvas-width title=dom-canvas-width><code>width</code></dfn> and
<dfn id=dom-canvas-height title=dom-canvas-height><code>height</code></dfn> IDL
attributes must <a href=#reflect>reflect</a> the respective content
Expand All @@ -24175,13 +24178,6 @@ interface <dfn>CueRangeCallback</dfn> {
context.fillRect(100,0,50,50); // only this square remains</pre>
</div>

<div class=impl>

<p>When the canvas is initialized it must be set to fully
transparent black.</p>

</div>

<p>To draw on the canvas, authors must first obtain a reference to a
<dfn id=context>context</dfn> using the <dfn id=dom-canvas-getcontext title=dom-canvas-getContext><code>getContext(<var title="">contextId</var>)</code></dfn> method of the
<code><a href=#the-canvas-element>canvas</a></code> element.</p>
Expand Down
21 changes: 9 additions & 12 deletions source
Expand Up @@ -26233,13 +26233,17 @@ interface <dfn>CueRangeCallback</dfn> {
pixels per unit in the coordinate space, so that the rendering
remains at high quality throughout.</p>

<p>Whenever the <code title="attr-canvas-width">width</code> and
<code title="attr-canvas-height">height</code> attributes are set
(whether to a new value or to the previous value), the bitmap and
any associated contexts must be cleared back to their initial state
and reinitialized with the newly specified coordinate space
<p>When the <code>canvas</code> element is created, and subsequently
whenever the <code title="attr-canvas-width">width</code> and <code
title="attr-canvas-height">height</code> attributes are set (whether
to a new value or to the previous value), the bitmap and any
associated contexts must be cleared back to their initial state and
reinitialized with the newly specified coordinate space
dimensions.</p>

<p>When the canvas is initialized, its bitmap must be cleared to
transparent black.</p>

<p>The <dfn title="dom-canvas-width"><code>width</code></dfn> and
<dfn title="dom-canvas-height"><code>height</code></dfn> IDL
attributes must <span>reflect</span> the respective content
Expand All @@ -26259,13 +26263,6 @@ interface <dfn>CueRangeCallback</dfn> {
context.fillRect(100,0,50,50); // only this square remains</pre>
</div>

<div class="impl">

<p>When the canvas is initialized it must be set to fully
transparent black.</p>

</div>

<p>To draw on the canvas, authors must first obtain a reference to a
<dfn>context</dfn> using the <dfn
title="dom-canvas-getContext"><code>getContext(<var
Expand Down

0 comments on commit fa08e40

Please sign in to comment.