<?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>24669</bug_id>
          
          <creation_ts>2014-02-14 20:10:14 +0000</creation_ts>
          <short_desc>Why is there a difference between IDL dimension attributes type for video compared with iframe/embed/object? And how is this difference expected to affect paging mechanism?</short_desc>
          <delta_ts>2014-02-21 22:40:19 +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>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#dimension-attributes</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>anakin_rendine</cc>
    
    <cc>ian</cc>
    
    <cc>master.skywalker.88</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100618</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-02-14 20:10:14 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html
Multipage: http://www.whatwg.org/C#dimension-attributes
Complete: http://www.whatwg.org/c#dimension-attributes
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html

Comment:
Why is there a difference between IDL dimension attributes type for video
compared with iframe/embed/object? And how is this difference expected to
affect paging mechanism?

Posted from: 78.13.40.15 by master.skywalker.88@gmail.com
User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100620</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-02-14 21:11:00 +0000</bug_when>
    <thetext>&gt; Why is there a difference between IDL dimension attributes type for video
&gt; compared with iframe/embed/object?

iframe/embed/object are legacy attributes, so we couldn&apos;t change them.

video is a new element, so we could do something that made sense.

Generally I try to remain consistent with old APIs, but here the old APIs just made no sense, and were inconsistent enough for other reasons that it seemed reasonable to just do the right thing.


&gt; And how is this difference expected to affect paging mechanism?

What do you mean by paging mechanism?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100659</commentid>
    <comment_count>2</comment_count>
    <who name="">anakin_rendine</who>
    <bug_when>2014-02-14 23:56:22 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #1)
&gt; Generally I try to remain consistent with old APIs, but here the old APIs
&gt; just made no sense, and were inconsistent enough for other reasons that it
&gt; seemed reasonable to just do the right thing.
&gt; 
&gt; What do you mean by paging mechanism?
I agree with the new interpretation. Maybe I didn&apos;t know about the old one. So I don&apos;t catch, is there also a different interpretation between @width/@height as number (img and video) and @width/@height as DOMstring in the other elements? Or it&apos;s just a difference in the kind of values the browser expects and how it parses them?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101017</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-02-20 20:53:44 +0000</bug_when>
    <thetext>There&apos;s also some legacy differences, e.g. &lt;img width=&quot;10%&quot;&gt; is handled differently than &lt;img width=&quot;10#&quot;&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>