Summary: | clientWidth/clientHeight on document element in strict mode should return visible frame size | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | DOM | Assignee: | 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
Anders Carlsson
2006-06-06 01:52:16 PDT
Created attachment 8726 [details]
Patch
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
|