<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>13687</bug_id>
          
          <creation_ts>2011-08-05 19:06:26 +0000</creation_ts>
          <short_desc>Add &quot;exposes a bitmap&quot; concept to image/video/canvas for CSS</short_desc>
          <delta_ts>2012-07-18 18:41:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tab Atkins Jr.">jackalmage</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54259</commentid>
    <comment_count>0</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-08-05 19:06:26 +0000</bug_when>
    <thetext>See discussion starting at &lt;http://krijnhoetmer.nl/irc-logs/whatwg/20110805#l-1054&gt;.

For the element() function defined at &lt;http://dev.w3.org/csswg/css3-images/#element-reference&gt;, I&apos;m defining &quot;exposes a bitmap&quot; as a hook for host languages to allow elements to be referenced even when they&apos;re not actively being rendered.  HTML should define that &lt;img&gt;, &lt;video&gt;, and &lt;canvas&gt; &quot;expose a bitmap&quot; in the obvious way.

(Link to the concept definition will follow.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54389</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-08-08 19:27:17 +0000</bug_when>
    <thetext>Reference is at &lt;http://dev.w3.org/csswg/css3-images/#paint-source&gt;.  The hook is now called &quot;represents a paint source&quot;, and you just have to specify the width, height, and appearance of the element when in this situation.

(This unifies img/video/canvas with the SVG paint servers.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54426</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-08-09 00:28:22 +0000</bug_when>
    <thetext>Ah, additional detail.  &lt;img&gt; elements (and maybe &lt;video&gt;?) should only represent a paint source when they&apos;re loaded with a valid image.  That is, an out-of-document &lt;img&gt; should not render its alt text (because that depends on rendering details like font-family and such).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55632</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-22 23:42:14 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55633</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-08-22 23:42:30 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6520.
Check-in comment: Integration with CSS Images.
http://html5.org/tools/web-apps-tracker?from=6519&amp;to=6520</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>