[Webkit-unassigned] [Bug 28810] offsetWidth of elements containing nested in block level elements reported as 0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 17 12:21:01 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=28810


paynalton <cxescalona at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cxescalona at gmail.com




--- Comment #5 from paynalton <cxescalona at gmail.com>  2011-10-17 12:21:01 PST ---
Confirmed on Chromium 14.0.835.163 and Safari 5.0 (7533.16).

Problem extended to multiple IMG elements into a div and another div with css

IMG:
 width:auto;
 height:100%;

Containerdiv:
 width:noSet;
 height:noSet;

ContainerContainerDiv:
 width:300px;
 height:300px;


Structure:

Div class ContainerContainerDiv
  Div class ContainerDiv
    IMG
    IMG
    IMG

javascript:

alert(IMG_DOM_ELEMENT.offsetWidth)  //Result: 0

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list