diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 17:18:23 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 17:18:23 +0000 |
commit | 6366e200ed57ccb7609533c8cd7230cff4d5bf8e (patch) | |
tree | 9c904054ba8bcb75f34d009a157d2cf634cdd71b /chrome | |
parent | 652de427da3996810157fe2c6cb6de410a61c86d (diff) | |
download | chromium_src-6366e200ed57ccb7609533c8cd7230cff4d5bf8e.zip chromium_src-6366e200ed57ccb7609533c8cd7230cff4d5bf8e.tar.gz chromium_src-6366e200ed57ccb7609533c8cd7230cff4d5bf8e.tar.bz2 |
revert 12598 now that text-overflow:ellipsis has been fixed in WebKit.
BUG=7697
TEST=Open RTL Chrome (--lang=he), load ynet.co.il, load mako.co.il, open new tab page. Observe that ellipsis is placed correctly at the end of the page titles for aforementioned sites and that the underline is under the whole title and not just under the ellipsis.
Review URL: http://codereview.chromium.org/112025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resources/new_tab.html | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/chrome/browser/resources/new_tab.html b/chrome/browser/resources/new_tab.html index b93bc1b..7cc0204 100644 --- a/chrome/browser/resources/new_tab.html +++ b/chrome/browser/resources/new_tab.html @@ -542,13 +542,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 { @@ -704,13 +697,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); } @@ -817,14 +803,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; } |