Added "specified element-ref() identifier" as an explicit hook for HTML to refer to.

Wed, 01 Dec 2010 21:35:08 +0000

author
Tab Atkins <jackalmage@gmail.com>
date
Wed, 01 Dec 2010 21:35:08 +0000
changeset 2219
d4c7d73ae7f7
parent 2218
63823e4837cc
child 2220
a1bc4b1287b1

Added "specified element-ref() identifier" as an explicit hook for HTML to refer to.

css3-images/Overview.html file | annotate | diff | comparison | revisions
css3-images/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-images/Overview.html	Wed Dec 01 21:17:52 2010 +0000
     1.2 +++ b/css3-images/Overview.html	Wed Dec 01 21:35:08 2010 +0000
     1.3 @@ -483,19 +483,21 @@
     1.4  
     1.5       <p>The &lsquo;<code class=css>element-ref()</code>&rsquo; function takes
     1.6        a single argument, which must be an IDENT. The host language for the
     1.7 -      document may expose a method of associating elements with identifiers
     1.8 -      for the purpose of this function; CSS does not define how this occurs.
     1.9 -      The identifiers for this function exist in a unique namespace and must
    1.10 -      not overlap with other identifiers used elsewhere in CSS. If an element
    1.11 -      is associated with the identifier passed to the function, the function
    1.12 -      represents an image in an identical manner to the &lsquo;<code
    1.13 -      class=css>element()</code>&rsquo; function, with the element associated
    1.14 -      with the identifier in place of the element matched by the selector. If
    1.15 -      no element is associated with the identifier passed to the function,
    1.16 -      the function represents a fully transparent image with no intrinsic
    1.17 -      dimensions. If the element associated with the identifier, or whether
    1.18 -      an element is associated with the identifier at all, changes, the image
    1.19 -      represented by the function must change accordingly.</p>
    1.20 +      document may expose a method of giving elements a <dfn
    1.21 +      id=specified-element-ref-identifier>specified element-ref()
    1.22 +      identifier</dfn> associating the element with an identifier; CSS does
    1.23 +      not define how this occurs. The identifiers for this function exist in
    1.24 +      a unique namespace and must not overlap with other identifiers used
    1.25 +      elsewhere in CSS. If an element is associated with the identifier
    1.26 +      passed to the function, the function represents an image in an
    1.27 +      identical manner to the &lsquo;<code class=css>element()</code>&rsquo;
    1.28 +      function, with the element associated with the identifier in place of
    1.29 +      the element matched by the selector. If no element is associated with
    1.30 +      the identifier passed to the function, the function represents a fully
    1.31 +      transparent image with no intrinsic dimensions. If the element
    1.32 +      associated with the identifier, or whether an element is associated
    1.33 +      with the identifier at all, changes, the image represented by the
    1.34 +      function must change accordingly.</p>
    1.35  
    1.36       <p>If the argument passed to &lsquo;<code
    1.37        class=css>element-ref()</code>&rsquo; isn't an IDENT, it is a syntax
     2.1 --- a/css3-images/Overview.src.html	Wed Dec 01 21:17:52 2010 +0000
     2.2 +++ b/css3-images/Overview.src.html	Wed Dec 01 21:35:08 2010 +0000
     2.3 @@ -244,7 +244,7 @@
     2.4  		<div>
     2.5  			<h4 class=no-toc>The ''element-ref()'' function</h4>
     2.6  			<p>The ''element-ref()'' function does essentially the same thing as the ''element()'' function - it allows the author to use an element as an image.  The difference is in how it references the element - rather than taking a selector, it just takes an identifier, which is mapped to some element by the host language.</p>
     2.7 -			<p>The ''element-ref()'' function takes a single argument, which must be an IDENT.  The host language for the document may expose a method of associating elements with identifiers for the purpose of this function; CSS does not define how this occurs.  The identifiers for this function exist in a unique namespace and must not overlap with other identifiers used elsewhere in CSS.  If an element is associated with the identifier passed to the function, the function represents an image in an identical manner to the ''element()'' function, with the element associated with the identifier in place of the element matched by the selector.  If no element is associated with the identifier passed to the function, the function represents a fully transparent image with no intrinsic dimensions.  If the element associated with the identifier, or whether an element is associated with the identifier at all, changes, the image represented by the function must change accordingly.</p>
     2.8 +			<p>The ''element-ref()'' function takes a single argument, which must be an IDENT.  The host language for the document may expose a method of giving elements a <dfn>specified element-ref() identifier</dfn> associating the element with an identifier; CSS does not define how this occurs.  The identifiers for this function exist in a unique namespace and must not overlap with other identifiers used elsewhere in CSS.  If an element is associated with the identifier passed to the function, the function represents an image in an identical manner to the ''element()'' function, with the element associated with the identifier in place of the element matched by the selector.  If no element is associated with the identifier passed to the function, the function represents a fully transparent image with no intrinsic dimensions.  If the element associated with the identifier, or whether an element is associated with the identifier at all, changes, the image represented by the function must change accordingly.</p>
     2.9  			<p>If the argument passed to ''element-ref()'' isn't an IDENT, it is a syntax error.</p>
    2.10  			<div class=example>
    2.11  				TODO: Create html example using canvas

mercurial