[html5] r6520 - [] (0) Integration with CSS Images. Fixing http://www.w3.org/Bugs/Public/show_bu [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Aug 22 16:41:37 PDT 2011
Author: ianh
Date: 2011-08-22 16:41:35 -0700 (Mon, 22 Aug 2011)
New Revision: 6520
Modified:
complete.html
index
source
Log:
[] (0) Integration with CSS Images.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13687
Modified: complete.html
===================================================================
--- complete.html 2011-08-22 22:36:36 UTC (rev 6519)
+++ complete.html 2011-08-22 23:41:35 UTC (rev 6520)
@@ -1525,7 +1525,7 @@
<li>New hyperlink features: the <code title=attr-hyperlink-download><a href=#attr-hyperlink-download>download</a></code> attribute to make download links and the <code title=attr-hyperlink-ping><a href=#ping>ping</a></code> attribute for <a href=#hyperlink-auditing>hyperlink auditing</a>.</li> <!--DOWNLOAD--><!--PING-->
<li>The <a href=#webvtt>WebVTT</a> format and some <a href=#text-track>text track</a> API features.</li> <!--TTVTT-->
<li>Rules for <a href=#atom>converting HTML to Atom</a>.</li> <!--MD-->
- <li>The <code title=dom-document-cssElementMap><a href=#dom-document-csselementmap>cssElementMap</a></code> feature for defining <span title="CSS element reference identifier">CSS element reference identifiers</span>.</li> <!--CSSREF-->
+ <li>The <code title=dom-document-cssElementMap><a href=#dom-document-csselementmap>cssElementMap</a></code> feature for defining <a href=#css-element-reference-identifier title="CSS element reference identifier">CSS element reference identifiers</a>.</li> <!--CSSREF-->
<li>An experimental <code><a href=#undomanager>UndoManager</a></code> interface.</li><!--UNDO-->
<li>An experimental specification of the legacy <code title=dom-find><a href=#dom-find>window.find()</a></code> API.</li><!--FIND-->
<li>Some predefined <a href=#mdvocabs>Microdata vocabularies</a>.</li>
@@ -4004,6 +4004,16 @@
cannot be parsed, as closing the open construct does not result
in a viable value.</p>
+ <p>The term <dfn id=css-element-reference-identifier>CSS element reference identifier</dfn> is used as
+ defined in the <cite>CSS Image Values and Replaced Content</cite>
+ specification to define the API that declares identifiers for use
+ with the CSS 'element()' function. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
+
+ <p>Similarly, the term <dfn id=provides-a-paint-source>provides a paint source</dfn> is used
+ as defined in the <cite>CSS Image Values and Replaced
+ Content</cite> specification to define the interaction of certain
+ HTML elements with the CSS 'element()' function. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
+
</dd>
@@ -9721,17 +9731,17 @@
<dd>
<p>Returns a <code><a href=#domelementmap>DOMElementMap</a></code> object for the
- <code><a href=#document>Document</a></code> representing the current <span title="CSS
+ <code><a href=#document>Document</a></code> representing the current <a href=#css-element-reference-identifier title="CSS
element reference identifier">CSS element reference
- identifiers</span>.</p>
+ identifiers</a>.</p>
</dd>
</dl><div class=impl>
<p>The <dfn id=dom-document-csselementmap title=dom-document-cssElementMap><code>cssElementMap</code></dfn>
- IDL attribute allows authors to define <span title="CSS element
- reference identifier">CSS element reference identifiers</span>,
+ IDL attribute allows authors to define <a href=#css-element-reference-identifier title="CSS element
+ reference identifier">CSS element reference identifiers</a>,
which are used in certain CSS features to override the normal <a href=#concept-id title=concept-id>ID</a>-based mapping. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
<p>When a <code><a href=#document>Document</a></code> is created, it must be associated
@@ -9743,7 +9753,7 @@
in the list and is either <a href=#in-a-document title="in a Document">in the
<code>Document</code></a> or is an <code><a href=#the-img-element>img</a></code>,
<code><a href=#the-video-element>video</a></code>, or <code><a href=#the-canvas-element>canvas</a></code> element, defines a
- <span>CSS element reference identifier</span> mapping the given name
+ <a href=#css-element-reference-identifier>CSS element reference identifier</a> mapping the given name
to the given <code><a href=#element>Element</a></code>. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
<p>On getting, the <code title=dom-document-cssElementMap><a href=#dom-document-csselementmap>cssElementMap</a></code> IDL
@@ -9786,8 +9796,8 @@
<p>If there is an entry in the <code><a href=#document>Document</a></code>'s <a href=#css-id-overrides-list>CSS
ID overrides list</a> whose name is the name passed to this
- algorithm, remove it. This also undefines the <span>CSS element
- reference identifier</span> for that name. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
+ algorithm, remove it. This also undefines the <a href=#css-element-reference-identifier>CSS element
+ reference identifier</a> for that name. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
</dd>
@@ -12702,7 +12712,6 @@
</div>
-
<h3 id=dynamic-markup-insertion><span class=secno>3.4 </span><dfn>Dynamic markup insertion</dfn></h3>
<p class=note>APIs for dynamically inserting markup into the
@@ -22483,6 +22492,11 @@
<p>An <code><a href=#the-img-element>img</a></code> element is initially <a href=#img-none title=img-none>unavailable</a>.</p>
+ <p>When an <code><a href=#the-img-element>img</a></code> element is <a href=#img-yes title=img-yes>available</a>, it <a href=#provides-a-paint-source>provides a paint
+ source</a> whose width is the image's intrinsic width, whose
+ height is the image's intrinsic height, and whose appearance is the
+ intrinsic appearance of the image.</p>
+
<p>User agents may obtain images immediately or on demand.</p>
<p>A user agent that obtains images immediately must synchronously
@@ -26079,6 +26093,15 @@
element <a href=#represents title=represents>represent</a> a link to an
external video playback utility or to the video data itself.</p>
+ <p>When a <code><a href=#the-video-element>video</a></code> element's <a href=#media-resource>media resource</a>
+ has a video channel, the element <a href=#provides-a-paint-source>provides a paint
+ source</a> whose width is the <a href=#media-resource>media resource</a>'s <a href=#concept-video-intrinsic-width title=concept-video-intrinsic-width>intrinsic width</a>, whose
+ height is the <a href=#media-resource>media resource</a>'s <a href=#concept-video-intrinsic-height title=concept-video-intrinsic-height>intrinsic height</a>, and
+ whose appearance is the frame of video corresponding to the <a href=#current-playback-position title="current playback position">current playback position</a>,
+ if that is available, or else (e.g. when the video is seeking or
+ buffering) its previous appearance, if any, or else (e.g. because
+ the video is still loading the first frame) blackness.</p>
+
<hr></div>
<dl class=domintro><dt><var title="">video</var> . <code title=dom-video-videoWidth><a href=#dom-video-videowidth>videoWidth</a></code></dt>
@@ -34991,6 +35014,12 @@
<p>When the canvas is initialized, its bitmap must be cleared to
transparent black.</p>
+ <p>When a <code><a href=#the-canvas-element>canvas</a></code> element does not represent its
+ <a href=#fallback-content>fallback content</a>, it <a href=#provides-a-paint-source>provides a paint
+ source</a> whose width is the element's intrinsic width, whose
+ height is the element's intrinsic height, and whose appearance is
+ the element's bitmap.</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
Modified: index
===================================================================
--- index 2011-08-22 22:36:36 UTC (rev 6519)
+++ index 2011-08-22 23:41:35 UTC (rev 6520)
@@ -1438,7 +1438,7 @@
<li>New hyperlink features: the <code title=attr-hyperlink-download><a href=#attr-hyperlink-download>download</a></code> attribute to make download links and the <code title=attr-hyperlink-ping><a href=#ping>ping</a></code> attribute for <a href=#hyperlink-auditing>hyperlink auditing</a>.</li> <!--DOWNLOAD--><!--PING-->
<li>The <a href=#webvtt>WebVTT</a> format and some <a href=#text-track>text track</a> API features.</li> <!--TTVTT-->
<li>Rules for <a href=#atom>converting HTML to Atom</a>.</li> <!--MD-->
- <li>The <code title=dom-document-cssElementMap><a href=#dom-document-csselementmap>cssElementMap</a></code> feature for defining <span title="CSS element reference identifier">CSS element reference identifiers</span>.</li> <!--CSSREF-->
+ <li>The <code title=dom-document-cssElementMap><a href=#dom-document-csselementmap>cssElementMap</a></code> feature for defining <a href=#css-element-reference-identifier title="CSS element reference identifier">CSS element reference identifiers</a>.</li> <!--CSSREF-->
<li>An experimental <code><a href=#undomanager>UndoManager</a></code> interface.</li><!--UNDO-->
<li>An experimental specification of the legacy <code title=dom-find><a href=#dom-find>window.find()</a></code> API.</li><!--FIND-->
<li>Some predefined <a href=#mdvocabs>Microdata vocabularies</a>.</li>
@@ -3901,6 +3901,16 @@
cannot be parsed, as closing the open construct does not result
in a viable value.</p>
+ <p>The term <dfn id=css-element-reference-identifier>CSS element reference identifier</dfn> is used as
+ defined in the <cite>CSS Image Values and Replaced Content</cite>
+ specification to define the API that declares identifiers for use
+ with the CSS 'element()' function. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
+
+ <p>Similarly, the term <dfn id=provides-a-paint-source>provides a paint source</dfn> is used
+ as defined in the <cite>CSS Image Values and Replaced
+ Content</cite> specification to define the interaction of certain
+ HTML elements with the CSS 'element()' function. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
+
</dd>
@@ -9585,17 +9595,17 @@
<dd>
<p>Returns a <code><a href=#domelementmap>DOMElementMap</a></code> object for the
- <code><a href=#document>Document</a></code> representing the current <span title="CSS
+ <code><a href=#document>Document</a></code> representing the current <a href=#css-element-reference-identifier title="CSS
element reference identifier">CSS element reference
- identifiers</span>.</p>
+ identifiers</a>.</p>
</dd>
</dl><div class=impl>
<p>The <dfn id=dom-document-csselementmap title=dom-document-cssElementMap><code>cssElementMap</code></dfn>
- IDL attribute allows authors to define <span title="CSS element
- reference identifier">CSS element reference identifiers</span>,
+ IDL attribute allows authors to define <a href=#css-element-reference-identifier title="CSS element
+ reference identifier">CSS element reference identifiers</a>,
which are used in certain CSS features to override the normal <a href=#concept-id title=concept-id>ID</a>-based mapping. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
<p>When a <code><a href=#document>Document</a></code> is created, it must be associated
@@ -9607,7 +9617,7 @@
in the list and is either <a href=#in-a-document title="in a Document">in the
<code>Document</code></a> or is an <code><a href=#the-img-element>img</a></code>,
<code><a href=#the-video-element>video</a></code>, or <code><a href=#the-canvas-element>canvas</a></code> element, defines a
- <span>CSS element reference identifier</span> mapping the given name
+ <a href=#css-element-reference-identifier>CSS element reference identifier</a> mapping the given name
to the given <code><a href=#element>Element</a></code>. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
<p>On getting, the <code title=dom-document-cssElementMap><a href=#dom-document-csselementmap>cssElementMap</a></code> IDL
@@ -9650,8 +9660,8 @@
<p>If there is an entry in the <code><a href=#document>Document</a></code>'s <a href=#css-id-overrides-list>CSS
ID overrides list</a> whose name is the name passed to this
- algorithm, remove it. This also undefines the <span>CSS element
- reference identifier</span> for that name. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
+ algorithm, remove it. This also undefines the <a href=#css-element-reference-identifier>CSS element
+ reference identifier</a> for that name. <a href=#refsCSSIMAGES>[CSSIMAGES]</a></p>
</dd>
@@ -12566,7 +12576,6 @@
</div>
-
<h3 id=dynamic-markup-insertion><span class=secno>3.4 </span><dfn>Dynamic markup insertion</dfn></h3>
<p class=note>APIs for dynamically inserting markup into the
@@ -22347,6 +22356,11 @@
<p>An <code><a href=#the-img-element>img</a></code> element is initially <a href=#img-none title=img-none>unavailable</a>.</p>
+ <p>When an <code><a href=#the-img-element>img</a></code> element is <a href=#img-yes title=img-yes>available</a>, it <a href=#provides-a-paint-source>provides a paint
+ source</a> whose width is the image's intrinsic width, whose
+ height is the image's intrinsic height, and whose appearance is the
+ intrinsic appearance of the image.</p>
+
<p>User agents may obtain images immediately or on demand.</p>
<p>A user agent that obtains images immediately must synchronously
@@ -25946,6 +25960,15 @@
element <a href=#represents title=represents>represent</a> a link to an
external video playback utility or to the video data itself.</p>
+ <p>When a <code><a href=#the-video-element>video</a></code> element's <a href=#media-resource>media resource</a>
+ has a video channel, the element <a href=#provides-a-paint-source>provides a paint
+ source</a> whose width is the <a href=#media-resource>media resource</a>'s <a href=#concept-video-intrinsic-width title=concept-video-intrinsic-width>intrinsic width</a>, whose
+ height is the <a href=#media-resource>media resource</a>'s <a href=#concept-video-intrinsic-height title=concept-video-intrinsic-height>intrinsic height</a>, and
+ whose appearance is the frame of video corresponding to the <a href=#current-playback-position title="current playback position">current playback position</a>,
+ if that is available, or else (e.g. when the video is seeking or
+ buffering) its previous appearance, if any, or else (e.g. because
+ the video is still loading the first frame) blackness.</p>
+
<hr></div>
<dl class=domintro><dt><var title="">video</var> . <code title=dom-video-videoWidth><a href=#dom-video-videowidth>videoWidth</a></code></dt>
@@ -34858,6 +34881,12 @@
<p>When the canvas is initialized, its bitmap must be cleared to
transparent black.</p>
+ <p>When a <code><a href=#the-canvas-element>canvas</a></code> element does not represent its
+ <a href=#fallback-content>fallback content</a>, it <a href=#provides-a-paint-source>provides a paint
+ source</a> whose width is the element's intrinsic width, whose
+ height is the element's intrinsic height, and whose appearance is
+ the element's bitmap.</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
Modified: source
===================================================================
--- source 2011-08-22 22:36:36 UTC (rev 6519)
+++ source 2011-08-22 23:41:35 UTC (rev 6520)
@@ -2939,6 +2939,18 @@
cannot be parsed, as closing the open construct does not result
in a viable value.</p>
+ <p>The term <dfn>CSS element reference identifier</dfn> is used as
+ defined in the <cite>CSS Image Values and Replaced Content</cite>
+ specification to define the API that declares identifiers for use
+ with the CSS 'element()' function. <a
+ href="#refsCSSIMAGES">[CSSIMAGES]</a></p>
+
+ <p>Similarly, the term <dfn>provides a paint source</dfn> is used
+ as defined in the <cite>CSS Image Values and Replaced
+ Content</cite> specification to define the interaction of certain
+ HTML elements with the CSS 'element()' function. <a
+ href="#refsCSSIMAGES">[CSSIMAGES]</a></p>
+
</dd>
<!--END html--><!--END dev-html--><!--END w3c-html-->
@@ -13231,7 +13243,6 @@
</div>
-
<h3><dfn>Dynamic markup insertion</dfn></h3>
<p class="note">APIs for dynamically inserting markup into the
@@ -24049,6 +24060,12 @@
<p>An <code>img</code> element is initially <span
title="img-none">unavailable</span>.</p>
+ <p>When an <code>img</code> element is <span
+ title="img-yes">available</span>, it <span>provides a paint
+ source</span> whose width is the image's intrinsic width, whose
+ height is the image's intrinsic height, and whose appearance is the
+ intrinsic appearance of the image.</p>
+
<p>User agents may obtain images immediately or on demand.</p>
<p>A user agent that obtains images immediately must synchronously
@@ -28043,6 +28060,18 @@
element <span title="represents">represent</span> a link to an
external video playback utility or to the video data itself.</p>
+ <p>When a <code>video</code> element's <span>media resource</span>
+ has a video channel, the element <span>provides a paint
+ source</span> whose width is the <span>media resource</span>'s <span
+ title="concept-video-intrinsic-width">intrinsic width</span>, whose
+ height is the <span>media resource</span>'s <span
+ title="concept-video-intrinsic-height">intrinsic height</span>, and
+ whose appearance is the frame of video corresponding to the <span
+ title="current playback position">current playback position</span>,
+ if that is available, or else (e.g. when the video is seeking or
+ buffering) its previous appearance, if any, or else (e.g. because
+ the video is still loading the first frame) blackness.</p>
+
<hr>
</div>
@@ -38457,6 +38486,12 @@
<p>When the canvas is initialized, its bitmap must be cleared to
transparent black.</p>
+ <p>When a <code>canvas</code> element does not represent its
+ <span>fallback content</span>, it <span>provides a paint
+ source</span> whose width is the element's intrinsic width, whose
+ height is the element's intrinsic height, and whose appearance is
+ the element's bitmap.</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
More information about the Commit-Watchers
mailing list