Bug 9325

Summary: clientWidth/clientHeight on document element in strict mode should return visible frame size
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: DOMAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 7788    
Attachments:
Description Flags
Patch darin: review+

Description Anders Carlsson 2006-06-06 01:52:16 PDT
This is what WinIE does (Mozilla too)
Comment 1 Anders Carlsson 2006-06-06 02:00:50 PDT
Created attachment 8726 [details]
Patch
Comment 2 Darin Adler 2006-06-06 09:44:26 PDT
Comment on attachment 8726 [details]
Patch

+    if (!document()->inCompatMode() && 
+        document()->documentElement() == this)

I would put those on single lines -- they're not too long.

r=me