[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

ojan at chromium.org ojan at chromium.org
Sun Feb 20 22:50:58 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 6a9ad01bd5ffa0edcf6a1a9624728513ddfef635
Author: ojan at chromium.org <ojan at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jan 12 08:37:43 2011 +0000

    2011-01-12  Ojan Vafai  <ojan at chromium.org>
    
            Reviewed by Adam Barth.
    
            fix wrapping bug in expansion lines in the code review tool
            https://bugs.webkit.org/show_bug.cgi?id=52270
    
            * PrettyPatch/PrettyPatch.rb:
            * code-review.js:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75589 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Websites/bugs.webkit.org/ChangeLog b/Websites/bugs.webkit.org/ChangeLog
index 8d9df95..75942ab 100644
--- a/Websites/bugs.webkit.org/ChangeLog
+++ b/Websites/bugs.webkit.org/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-12  Ojan Vafai  <ojan at chromium.org>
+
+        Reviewed by Adam Barth.
+
+        fix wrapping bug in expansion lines in the code review tool
+        https://bugs.webkit.org/show_bug.cgi?id=52270
+
+        * PrettyPatch/PrettyPatch.rb:
+        * code-review.js:
+
 2011-01-11  Ojan Vafai  <ojan at chromium.org>
 
         Reviewed by Adam Barth.
diff --git a/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb b/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb
index ac2c69e..84b1ff2 100644
--- a/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb
+++ b/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb
@@ -319,6 +319,7 @@ body {
 
 .ExpandArea {
   margin: 0;
+  white-space: pre-wrap;
 }
 
 .ExpandText {
diff --git a/Websites/bugs.webkit.org/code-review.js b/Websites/bugs.webkit.org/code-review.js
index e6ae220..6836be2 100644
--- a/Websites/bugs.webkit.org/code-review.js
+++ b/Websites/bugs.webkit.org/code-review.js
@@ -350,7 +350,7 @@
 
   function expandBarHtml(file_name, opt_direction) {
     var html = '<div class="ExpandBar">' +
-        '<pre class="ExpandArea Expand' + ABOVE + '"></pre>' +
+        '<div class="ExpandArea Expand' + ABOVE + '"></div>' +
         '<div class="ExpandLinkContainer LinkContainer"><span class="ExpandText">expand: </span>';
 
     // FIXME: If there are <100 line to expand, don't show the expand-100 link.
@@ -367,7 +367,7 @@
         expandLinkHtml(BELOW, 100);
     }
 
-    html += '</div><pre class="ExpandArea Expand' + BELOW + '"></pre></div>';
+    html += '</div><div class="ExpandArea Expand' + BELOW + '"></div></div>';
     return html;
   }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list