[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:07:39 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit ba0241051bf27466c44b73edeea4315967e4b617
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Nov 24 13:03:11 2002 +0000

    	- fixed 3081946 - bookmarklet reports the wrong "windowfull" size
    
    	This isn't really beta 1 material but the fix was so tirivial I
    	couldn't resist.
    
            * khtml/ecma/kjs_html.cpp:
            (KJS::HTMLDocument::tryGet): Use contentWidth and contentHeight
    	for document.width and document.height instead of visibleWidth for
    	both.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2848 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 825389f..083a380 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,15 @@
+2002-11-24  Maciej Stachowiak  <mjs at apple.com>
+
+	- fixed 3081946 - bookmarklet reports the wrong "windowfull" size
+
+	This isn't really beta 1 material but the fix was so tirivial I
+	couldn't resist.
+	
+        * khtml/ecma/kjs_html.cpp:
+        (KJS::HTMLDocument::tryGet): Use contentWidth and contentHeight
+	for document.width and document.height instead of visibleWidth for
+	both.
+
 2002-11-22  Darin Adler  <darin at apple.com>
 
         * khtml/ecma/kjs_window.cpp: Remove _COLLECTOR hack.
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 825389f..083a380 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,15 @@
+2002-11-24  Maciej Stachowiak  <mjs at apple.com>
+
+	- fixed 3081946 - bookmarklet reports the wrong "windowfull" size
+
+	This isn't really beta 1 material but the fix was so tirivial I
+	couldn't resist.
+	
+        * khtml/ecma/kjs_html.cpp:
+        (KJS::HTMLDocument::tryGet): Use contentWidth and contentHeight
+	for document.width and document.height instead of visibleWidth for
+	both.
+
 2002-11-22  Darin Adler  <darin at apple.com>
 
         * khtml/ecma/kjs_window.cpp: Remove _COLLECTOR hack.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 825389f..083a380 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,15 @@
+2002-11-24  Maciej Stachowiak  <mjs at apple.com>
+
+	- fixed 3081946 - bookmarklet reports the wrong "windowfull" size
+
+	This isn't really beta 1 material but the fix was so tirivial I
+	couldn't resist.
+	
+        * khtml/ecma/kjs_html.cpp:
+        (KJS::HTMLDocument::tryGet): Use contentWidth and contentHeight
+	for document.width and document.height instead of visibleWidth for
+	both.
+
 2002-11-22  Darin Adler  <darin at apple.com>
 
         * khtml/ecma/kjs_window.cpp: Remove _COLLECTOR hack.
diff --git a/WebCore/khtml/ecma/kjs_html.cpp b/WebCore/khtml/ecma/kjs_html.cpp
index 95594cd..583bb05 100644
--- a/WebCore/khtml/ecma/kjs_html.cpp
+++ b/WebCore/khtml/ecma/kjs_html.cpp
@@ -245,9 +245,9 @@ Value KJS::HTMLDocument::tryGet(ExecState *exec, const Identifier &propertyName)
     case LastModified:
       return String(doc.lastModified());
     case Height:
-      return Number(view ? view->visibleWidth() : 0);
+      return Number(view ? view->contentsHeight() : 0);
     case Width:
-      return Number(view ? view->visibleWidth() : 0);
+      return Number(view ? view->contentsWidth() : 0);
     case Dir:
       return String(body.dir());
     }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list