- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 02 May 2011 18:19:05 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images
In directory hutz:/tmp/cvs-serv8912
Modified Files:
Overview.html Overview.src.html
Log Message:
Added explanatory note to element() that the layout mustn't change if the element is regenerated for display.
Changed a "who's" to "whose".
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- Overview.html 26 Apr 2011 21:32:29 -0000 1.79
+++ Overview.html 2 May 2011 18:19:03 -0000 1.80
@@ -15,7 +15,7 @@
<h1>CSS Image Values and Replaced Content Module Level 3</h1>
- <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 April 2011</h2>
+ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 2 May 2011</h2>
<dl>
<dt>Latest Version:
@@ -492,7 +492,7 @@
<p>If the argument to the ‘<code class=css>element()</code>’
function is an ID selector, the function references the element matched by
the selector. If it's an identifier, the function references the element
- who's <dfn id=css-element-reference-identifier>CSS element reference
+ whose <dfn id=css-element-reference-identifier>CSS element reference
identifier</dfn> is the given identifier. (CSS does not define how an
element acquires a <a href="#css-element-reference-identifier"><i>CSS
element reference identifier</i></a>; that is determined by the host
@@ -525,6 +525,14 @@
<p>If the argument passed to ‘<code class=css>element()</code>’
isn't an ID selector or an ident, it is a syntax error.
+ <p>Implementations may either re-use existing bitmap data generated for the
+ referenced element or regenerate the display of the element to maximize
+ quality at the image's size (for example, if the implementation detects
+ that the referenced element is an SVG fragment); in the latter case, the
+ layout of the referenced element in the image must not be changed by the
+ regeneration process. That is, the image must look identical to the
+ referenced element, modulo rasterization quality.
+
<div class=example> TODO: copy an example from the MozHacks article</div>
<!-- ====================================================================== -->
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.src.html,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- Overview.src.html 26 Apr 2011 21:32:30 -0000 1.82
+++ Overview.src.html 2 May 2011 18:19:03 -0000 1.83
@@ -281,7 +281,7 @@
<p>If the argument to the ''element()'' function is an ID selector, the
function references the element matched by the selector. If it's an identifier,
- the function references the element who's <dfn>CSS element reference identifier</dfn>
+ the function references the element whose <dfn>CSS element reference identifier</dfn>
is the given identifier. (CSS does not define how an element acquires a
<i>CSS element reference identifier</i>; that is determined by the host language.)
If no element in the document matches the selector, or no element has the
@@ -309,6 +309,14 @@
<p>If the argument passed to ''element()'' isn't an ID selector or an ident,
it is a syntax error.</p>
+ <p>Implementations may either re-use existing bitmap data generated for the
+ referenced element or regenerate the display of the element to maximize quality
+ at the image's size (for example, if the implementation detects that the referenced
+ element is an SVG fragment); in the latter case, the layout of the referenced
+ element in the image must not be changed by the regeneration process. That is,
+ the image must look identical to the referenced element, modulo rasterization
+ quality.</p>
+
<div class=example>
TODO: copy an example from the MozHacks article
</div>
Received on Monday, 2 May 2011 18:19:06 UTC