- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 18 Aug 2011 21:09:56 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv5583 Modified Files: Overview.html Overview.src.html Log Message: Ensured all the notes start with "Note", per our style guidelines. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.157 retrieving revision 1.158 diff -u -d -r1.157 -r1.158 --- Overview.html 18 Aug 2011 20:53:58 -0000 1.157 +++ Overview.html 18 Aug 2011 21:09:54 -0000 1.158 @@ -563,9 +563,9 @@ 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>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> + 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 @@ -1321,8 +1321,8 @@ <p><small>* SVG-in-HTML support required to view the images.</small></p> </div> - <p class=note>It is recommended that authors not mix different types of - units, such as px, em, or %, in a single rule, as this can cause a + <p class=note>Note: It is recommended that authors not mix different types + of units, such as px, em, or %, in a single rule, as this can cause a color-stop to unintentionally try to move before an earlier one. For example, the rule ‘<code class=css>background-image: linear-gradient(red, yellow 100px, blue 50%)</code>’ would work as @@ -1331,11 +1331,11 @@ "75px", which precedes the yellow color-stop, and would be corrected to a position of 100px. - <p class=note>The definition and implications of "premultiplied" color - spaces are given elsewhere in the technical literature, but a quick primer - is given here to illuminate the process. Given a color expressed as an - rgba() 4-tuple, one can convert this to a premultiplied representation by - multiplying the red, green, and blue components by the alpha component. + <p class=note>Note: The definition and implications of "premultiplied" + color spaces are given elsewhere in the technical literature, but a quick + primer is given here to illuminate the process. Given a color expressed as + an rgba() 4-tuple, one can convert this to a premultiplied representation + by multiplying the red, green, and blue components by the alpha component. For example, a partially-transparent blue may be given as rgba(0,0,255,.5), which would then be expressed as [0, 0, 127.5, .5] in its premultiplied representation. Interpolating colors using the Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.164 retrieving revision 1.165 diff -u -d -r1.164 -r1.165 --- Overview.src.html 18 Aug 2011 20:53:58 -0000 1.164 +++ Overview.src.html 18 Aug 2011 21:09:54 -0000 1.165 @@ -319,7 +319,7 @@ <dt>Otherwise</dt> <dd> - <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>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>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> </dd> @@ -890,7 +890,7 @@ <p><small>* SVG-in-HTML support required to view the images.</small></p> </div> - <p class=note>It is recommended that authors not mix different types of units, + <p class=note>Note: It is recommended that authors not mix different types of units, such as px, em, or %, in a single rule, as this can cause a color-stop to unintentionally try to move before an earlier one. For example, the rule ''background-image: linear-gradient(red, yellow 100px, blue 50%)'' would @@ -899,7 +899,7 @@ equivalent to "75px", which precedes the yellow color-stop, and would be corrected to a position of 100px.</p> - <p class=note>The definition and implications of "premultiplied" color spaces + <p class=note>Note: The definition and implications of "premultiplied" color spaces are given elsewhere in the technical literature, but a quick primer is given here to illuminate the process. Given a color expressed as an rgba() 4-tuple, one can convert this to a premultiplied representation by multiplying the
Received on Thursday, 18 August 2011 21:09:58 UTC