[Bug 22772] New: width, height, top, left attributes or properties that always work

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22772

            Bug ID: 22772
           Summary: width, height, top, left attributes or properties that
                    always work
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: jmichae3@yahoo.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

elementWidth:Int32, READ/WRITE
elementHeight:Int32, read/write
elementAbsTop:Int32, READ/WRITE
elementAbsLeft:Int32, read/write
OR
elWidth:Int32, READ/WRITE
elHeight:Int32, read/write
elAbsTop:Int32, READ/WRITE
elAbsLeft:Int32, read/write

unless you want to make .width and .height, .top and .left work read/write ALL
the time and the same on all platforms, this would be wonderful. 

I would really like to know when it comes into effect.

these need to be accessible especially from css attr(), calc(), and also from
javascript, so my best figuring was that this needed to be added to DOM.

these need to be accessible when the element is available (when loaded).
currently, unless you have specified an element's height and width, there is no
way to get the element's width and height values. 
it's currently an "it's there if you happen to set it" thing.
this does not work for DHTML and especially layers.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 23 July 2013 10:49:55 UTC