Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2531)

Unified Diff: chrome/browser/resources/new_tab.html

Issue 112025: revert 12598 now that text-overflow:ellipsis has been fixed in WebKit. (Closed)
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_tab.html
diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html
index 271bc3503e0783dfe71403c8cab04b3a3537183b..a1e0690f4fa4040aef5ac039f29730b7ebdfb738 100644
--- a/chrome/browser/resources/new_tab.html
+++ b/chrome/browser/resources/new_tab.html
@@ -546,13 +546,6 @@ function makeMostVisitedDOM(page, number) {
for more information.
*/
div_title.style.direction = page.direction;
- /* The following if statement is a temporary workaround for
- http://crbug.com/7252 and http://crbug.com/7697. It should be removed
- before closing these bugs.
- */
- if (page.direction == 'rtl') {
- div_title.style.textOverflow = 'clip';
- }
if (page.title) {
div_title.appendChild(document.createTextNode(page.title));
} else {
@@ -707,13 +700,6 @@ function renderRecentlyBookmarked(entries) {
comment about setting div_title.style.direction above for details.
*/
link.style.direction = entry.direction;
- /* The following if statement is a temporary workaround for
- http://crbug.com/7252 and http://crbug.com/7697. It should be removed
- before closing these bugs.
- */
- if (entry.direction == 'rtl') {
- link.style.textOverflow = 'clip';
- }
link.appendChild(document.createTextNode(entry.title));
container.appendChild(link);
}
@@ -820,14 +806,6 @@ function createRecentBookmark(tagName, data) {
about setting div_title.style.direction above for details.
*/
link.style.direction = data.direction;
- /* The following if statement is a temporary workaround for
- http://crbug.com/7252 and http://crbug.com/7697. It should be removed
- before closing these bugs.
- */
- if (data.direction == 'rtl') {
- link.style.textOverflow = 'clip';
- }
-
link.appendChild(document.createTextNode(data.title));
return link;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698