[Webkit-unassigned] [Bug 28647] New: Weird layout bug when READING clientHeight

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 21 17:41:01 PDT 2009


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

           Summary: Weird layout bug when READING clientHeight
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jasneet at chromium.org
                CC: jasneet at chromium.org


Created an attachment (id=38424)
 --> (https://bugs.webkit.org/attachment.cgi?id=38424)
testcase

Steps:
Go to attached reduced testcase

II Issue:
Document is twice as wide as the window. There should be no scrollbar

III Conclusion:
Put the HTML and CSS of the reduced test case into two separate files. webkit
behaves correctly if the test case is anyhow simpified, even when styles are
inlined.

bug.html:
<html>
<head>
  <link href="bug.css" rel="stylesheet"/>
</head>
<body>
  <div class="bug">
    <div></div>
  </div>
  <script>
    document.documentElement.clientHeight;
  </script>
</body>
</html>

bug.css:
.bug {
  float: right;
}

IV Other Browsers:
IE7: ok
FF3: ok

V Nightly tested : 47639

Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=16626

-- 
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