<?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>20584</bug_id>
          
          <creation_ts>2013-01-07 04:09:16 +0000</creation_ts>
          <short_desc>[HTML5] &lt;media&gt; element proposal</short_desc>
          <delta_ts>2013-01-25 01:37:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexei03a">alexei03a</reporter>
          <assigned_to name="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>alexei03a</cc>
    
    <cc>eoconnor</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80973</commentid>
    <comment_count>0</comment_count>
    <who name="Alexei03a">alexei03a</who>
    <bug_when>2013-01-07 04:09:16 +0000</bug_when>
    <thetext>I have idea to implement &lt;media width=&quot;width&quot; height=&quot;height&quot;&gt;&lt;/media&gt; element. Behavior similar to Canvas element. By instead of graphics you can fill other content.

Differences of &lt;div&gt; element.
- Supported interactivity.
- JavaScript name - &quot;HTMLMediaContainerElement&quot;.
- Stretched like canvas element (proportional or not, depending on CSS).
- The text does not change the size of an element, as its scalable model is similar to canvas, but not DIV or span.
- &quot;width&quot; and &quot;height&quot; work not as CSS (img, video), but as canvas (i.e. own original size).
- is not &lt;div&gt; replacement, but addition.

Examples:
&lt;media id=&quot;media&quot; width=&quot;300&quot; height=&quot;150&quot; style=&quot;width:600px;&quot;&gt;
  &lt;!-- final size must be 600x300 --&gt;
  &lt;svg width=&quot;100%&quot; height=&quot;100%&quot;&gt;
    ...
  &lt;/svg&gt;
&lt;/media&gt;

&lt;media id=&quot;media&quot; width=&quot;10&quot; height=&quot;1&quot; style=&quot;overflow: hidden;&quot;&gt;
  Text must be cropped.
&lt;/media&gt;

&lt;media id=&quot;media&quot; class=&quot;video-player&quot; width=&quot;$generated by script$&quot; height=&quot;$generated by script$&quot;&gt;
  &lt;!-- Work like &lt;video&gt; element. --&gt;
  &lt;div style=&quot;width: 100%; height: 100%; position: relative;&quot;&gt;
    ...
  &lt;/div&gt;
&lt;/media&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81696</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 15:58:48 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81814</commentid>
    <comment_count>2</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 16:01:34 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81907</commentid>
    <comment_count>3</comment_count>
    <who name="Alexei03a">alexei03a</who>
    <bug_when>2013-01-21 23:39:51 +0000</bug_when>
    <thetext>Dublicate of: https://www.w3.org/Bugs/Public/show_bug.cgi?id=20306</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81994</commentid>
    <comment_count>4</comment_count>
    <who name="Alexei03a">alexei03a</who>
    <bug_when>2013-01-23 11:18:46 +0000</bug_when>
    <thetext>*** Bug 20306 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82121</commentid>
    <comment_count>5</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-01-25 01:37:53 +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: Rejected
Change Description: No spec change.
Rationale: As Robin said in bug 20306 comment 7, everything proposed can
already be achieved using existing Web platform features.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>