W3C home > Mailing lists > Public > public-html@w3.org > August 2008

[Bug 5941] New: <video>.width/height should have default values defined

From: <bugzilla@wiggum.w3.org>
Date: Thu, 07 Aug 2008 13:53:46 +0000
To: public-html@w3.org
Message-ID: <bug-5941-2495@http.www.w3.org/Bugs/Public/>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5941

           Summary: <video>.width/height should have default values defined
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: simonp@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org,
                    philipj@opera.com


AFAICT the <video>.width/height DOM attributes don't have default values
defines as far as reflecting attributes go, and so getting .width or .height
will return 0 when the content attributes aren't there (or won't parse). This
seems unhelpful.

We think the width/height DOM attributes should return the rendered
width/height of the element, if it's being rendered, or else the intristic
width/height of the video element's playback area.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 7 August 2008 13:54:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:21 GMT