- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 11 Nov 2011 23:36:01 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv18701 Modified Files: Overview.html Overview.src.html Log Message: Move and rephrase the remaining examples issue in element(). Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.216 retrieving revision 1.217 diff -u -d -r1.216 -r1.217 --- Overview.html 11 Nov 2011 23:31:51 -0000 1.216 +++ Overview.html 11 Nov 2011 23:35:59 -0000 1.217 @@ -764,6 +764,11 @@ pagination direction (elements broken across lines or columns just render with their bounding box, as normal, which may have unintended visual effects).</p> + + <div class=example> + <p class=issue>Steal one of the MozHacks examples, once I get permission + to do so.</p> + </div> </dl> <p>Implementations may either re-use existing bitmap data generated for the @@ -774,10 +779,6 @@ regeneration process. That is, the image must look identical to the referenced element, modulo rasterization quality. - <div class=example> - <p class=issue>TODO: Create examples of all of the above cases.</p> - </div> - <p>Host languages may define that some elements provide a <dfn id=paint-source title=paint-source>paint source</dfn>. Paint sources have an intrinsic width, height, and appearance, separate from the process of Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.224 retrieving revision 1.225 diff -u -d -r1.224 -r1.225 --- Overview.src.html 11 Nov 2011 23:31:51 -0000 1.224 +++ Overview.src.html 11 Nov 2011 23:35:59 -0000 1.225 @@ -412,6 +412,10 @@ <p>The function represents an image with width and height equal to the bounding box of the referenced element. The image must be constructed by rendering the referenced element and its descendants at the same size that the element would be in its document, over an infinite transparent-black canvas, positioned so that the edges of the referenced element's bounding box is flush with the edges of the image. <span class=note>Note: Because images clip anything outside their bounds by default, this means that decorations that extend outside the bounding box, like box-shadows or some border-images, may be clipped.</span></p> <p>If the referenced element has a transform applied to it or an ancestor, the transform must be ignored when rendering the element as an image. If the referenced element is broken across pages, the element must be displayed as if the page content areas were joined flush in the pagination direction (elements broken across lines or columns just render with their bounding box, as normal, which may have unintended visual effects).</p> + + <div class='example'> + <p class='issue'>Steal one of the MozHacks examples, once I get permission to do so.</p> + </div> </dd> </dl> @@ -423,10 +427,6 @@ the image must look identical to the referenced element, modulo rasterization quality.</p> - <div class=example> - <p class=issue>TODO: Create examples of all of the above cases.</p> - </div> - <p>Host languages may define that some elements provide a <dfn title="paint-source">paint source</dfn>. Paint sources have an intrinsic width, height, and appearance, separate from the process of rendering, and so may be used as images even when they're not being rendered. Examples of elements that provide paint sources are the <linearGradient>, <radialGradient>, and <pattern> elements in SVG, or the <img>, <video>, and <canvas> elements in HTML.</p> <!-- ====================================================================== -->
Received on Friday, 11 November 2011 23:36:06 UTC