+2011-01-12 Ojan Vafai <ojan@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@chromium.org>
Reviewed by Adam Barth.
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.
expandLinkHtml(BELOW, 100);
}
- html += '</div><pre class="ExpandArea Expand' + BELOW + '"></pre></div>';
+ html += '</div><div class="ExpandArea Expand' + BELOW + '"></div></div>';
return html;
}