This CL is a work around for the following 2 issues: issue 7252 --[New Tab] page, the underline of linked text should be under all text http://crbug.com/7252
This CL is a work around for the following 2 issues:
issue 7252 --[New Tab] page, the underline of linked text should be under all text
http://crbug.com/7252

issue 7697 -- RTL: New Tab page - bad display of page titles with RTL text
http://crbug.com/7697

The bug is caused by WebKit not rendering text-overflow:ellipsis correctly for mixed bidi text with rtl directionality.

The workaround is to change text-overflow to 'clip' for text with 'rtl' directionality.

(The workaround we thought by changing 'text-overflow' to 'clip' in the style, such as in 'html[dir='rtl'] .thumbnail-title', does not work well. 'text-overflow:clip' caused pure English text overlap with the right-aligned favicon in RTL New Tab page).


Review URL: http://codereview.chromium.org/42636

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@12598 0039d316-1c4b-4281-b951-d872f2087c98

ChromiumWebApps/chromium,ondra-novak/chromium.src,PeterWangIntel/chromium-crosswalk,keishi/chromium,nacl-webkit/chrome_deps,Just-D/chromium-1,ChromiumWebApps/chromium,ChromiumWebApps/chromium,Jonekee/chromium.src,patrickm/chromium.src,robclark/chromium,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,timopulkkinen/BubbleFish,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,keishi/chromium,littlstar/chromium.src,mohamed--abdel-maksoud/chromium.src,Pluto-tv/chromium-crosswalk,hujiajie/pa-chromium,robclark/chromium,M4sse/chromium.src,keishi/chromium,Chilledheart/chromium,anirudhSK/chromium,Chilledheart/chromium,ltilve/chromium,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,crosswalk-project/chromium-crosswalk-efl,rogerwang/chromium,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,rogerwang/chromium,rogerwang/chromium,hgl888/chromium-crosswalk,bright-sparks/chromium-spacewalk,M4sse/chromium.src,ondra-novak/chromium.src,Chilledheart/chromium,anirudhSK/chromium,fujunwei/chromium-crosswalk,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,rogerwang/chromium,M4sse/chromium.src,Chilledheart/chromium,chuan9/chromium-crosswalk,Jonekee/chromium.src,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,mogoweb/chromium-crosswalk,markYoungH/chromium.src,chuan9/chromium-crosswalk,Fireblend/chromium-crosswalk,nacl-webkit/chrome_deps,M4sse/chromium.src,keishi/chromium,jaruba/chromium.src,Just-D/chromium-1,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,zcbenz/cefode-chromium,zcbenz/cefode-chromium,markYoungH/chromium.src,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,anirudhSK/chromium,keishi/chromium,dushu1203/chromium.src,hujiajie/pa-chromium,dednal/chromium.src,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,dushu1203/chromium.src,fujunwei/chromium-crosswalk,Jonekee/chromium.src,chuan9/chromium-crosswalk,hujiajie/pa-chromium,ltilve/chromium,robclark/chromium,dednal/chromium.src,littlstar/chromium.src,M4sse/chromium.src,ChromiumWebApps/chromium,markYoungH/chromium.src,Chilledheart/chromium,keishi/chromium,hgl888/chromium-crosswalk-efl,dednal/chromium.src,dushu1203/chromium.src,zcbenz/cefode-chromium,rogerwang/chromium,Chilledheart/chromium,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,ondra-novak/chromium.src,dednal/chromium.src,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,markYoungH/chromium.src,keishi/chromium,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,jaruba/chromium.src,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,ltilve/chromium,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,M4sse/chromium.src,patrickm/chromium.src,keishi/chromium,Fireblend/chromium-crosswalk,Fireblend/chromium-crosswalk,chuan9/chromium-crosswalk,Just-D/chromium-1,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,patrickm/chromium.src,dushu1203/chromium.src,rogerwang/chromium,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,fujunwei/chromium-crosswalk,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,keishi/chromium,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,robclark/chromium,anirudhSK/chromium,anirudhSK/chromium,timopulkkinen/BubbleFish,ondra-novak/chromium.src,dushu1203/chromium.src,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,dednal/chromium.src,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,robclark/chromium,pozdnyakov/chromium-crosswalk,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk-efl,rogerwang/chromium,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,rogerwang/chromium,Pluto-tv/chromium-crosswalk,zcbenz/cefode-chromium,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,ltilve/chromium,ltilve/chromium,hujiajie/pa-chromium,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,Jonekee/chromium.src,littlstar/chromium.src,patrickm/chromium.src,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,Jonekee/chromium.src,mogoweb/chromium-crosswalk,robclark/chromium,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,dednal/chromium.src,keishi/chromium,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,mogoweb/chromium-crosswalk,bright-sparks/chromium-spacewalk,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,rogerwang/chromium,jaruba/chromium.src,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,patrickm/chromium.src,littlstar/chromium.src,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,patrickm/chromium.src,Fireblend/chromium-crosswalk,Fireblend/chromium-crosswalk,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,fujunwei/chromium-crosswalk,littlstar/chromium.src,timopulkkinen/BubbleFish,markYoungH/chromium.src,robclark/chromium,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,M4sse/chromium.src,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,jaruba/chromium.src,Fireblend/chromium-crosswalk,patrickm/chromium.src,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,ltilve/chromium,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,Chilledheart/chromium,timopulkkinen/BubbleFish,mohamed--abdel-maksoud/chromium.src,keishi/chromium,dushu1203/chromium.src,dednal/chromium.src,robclark/chromium,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,chuan9/chromium-crosswalk,Jonekee/chromium.src,chuan9/chromium-crosswalk,ltilve/chromium,markYoungH/chromium.src,dushu1203/chromium.src,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,zcbenz/cefode-chromium,hgl888/chromium-crosswalk,dushu1203/chromium.src,axinging/chromium-crosswalk,ondra-novak/chromium.src,timopulkkinen/BubbleFish,ondra-novak/chromium.src,krieger-od/nwjs_chromium.src,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,littlstar/chromium.src,fujunwei/chromium-crosswalk,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,axinging/chromium-crosswalk,Just-D/chromium-1,junmin-zhu/chromium-rivertrail,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,anirudhSK/chromium,Just-D/chromium-1,timopulkkinen/BubbleFish,mogoweb/chromium-crosswalk,ltilve/chromium,axinging/chromium-crosswalk,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,patrickm/chromium.src,fujunwei/chromium-crosswalk,Chilledheart/chromium,jaruba/chromium.src,ChromiumWebApps/chromium,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,fujunwei/chromium-crosswalk,Chilledheart/chromium,robclark/chromium,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,robclark/chromium,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,fujunwei/chromium-crosswalk,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,rogerwang/chromium,dednal/chromium.src,dednal/chromium.src,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,ChromiumWebApps/chromium,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,fujunwei/chromium-crosswalk,zcbenz/cefode-chromium,Jonekee/chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src