Bug 28647

Summary: Weird layout bug when READING clientHeight
Product: WebKit Reporter: jasneet <jasneet>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: jasneet, pallosp
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
testcase none

jasneet
Reported 2009-08-21 17:41:01 PDT
Created attachment 38424 [details] 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
Attachments
testcase (496 bytes, application/zip)
2009-08-21 17:41 PDT, jasneet
no flags
Note You need to log in before you can comment on or make changes to this bug.