summaryrefslogtreecommitdiffstats
path: root/chrome/browser/security
diff options
context:
space:
mode:
authormal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 19:05:11 +0000
committermal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 19:05:11 +0000
commit941fdfd2a3ae02f977d89b5051fa81164657b560 (patch)
treef165de16efc956afb14a0d8659433ff0a170ad2b /chrome/browser/security
parent7a1f7a2f2bf0c09d2767a496a09509898d4aaa02 (diff)
downloadchromium_src-941fdfd2a3ae02f977d89b5051fa81164657b560.zip
chromium_src-941fdfd2a3ae02f977d89b5051fa81164657b560.tar.gz
chromium_src-941fdfd2a3ae02f977d89b5051fa81164657b560.tar.bz2
Fix for b/1837411 -- Interstitial title lines bleed together.
The line height for titles in the warning interstitials is too small. In English, a second line starts to abut the line above it if the browser is narrow. In languages with ligatures above the line, a second line bleeds into the first, impairing readability. This is compounded in languages like Tamil and Marathi, where the title of the interstitial warning is quite long and likely to break on two lines. My solution is to set the line height to 140% in the .title. TEST= Navigate to ianfette.org with Chrome's lang set to ta or mr. The title lines in the anti-malware blocking page should not bleed together. BUG= 1837411 Review URL: http://codereview.chromium.org/113140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/security')
-rw-r--r--chrome/browser/security/resources/ssl_error.html1
-rw-r--r--chrome/browser/security/resources/ssl_roadblock.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/security/resources/ssl_error.html b/chrome/browser/security/resources/ssl_error.html
index 0aefe9d..b8b4ad7 100644
--- a/chrome/browser/security/resources/ssl_error.html
+++ b/chrome/browser/security/resources/ssl_error.html
@@ -37,6 +37,7 @@ html[dir='rtl'] .box {
.title {
margin: 0px 77px 0px;
font-size:18pt;
+ line-height: 140%;
margin-bottom:6pt;
font-weight:bold;
color:#660000;
diff --git a/chrome/browser/security/resources/ssl_roadblock.html b/chrome/browser/security/resources/ssl_roadblock.html
index 26d204b..aa8f87f 100644
--- a/chrome/browser/security/resources/ssl_roadblock.html
+++ b/chrome/browser/security/resources/ssl_roadblock.html
@@ -37,6 +37,7 @@ html[dir='rtl'] .box {
.title {
margin: 0px 77px 0px;
font-size:18pt;
+ line-height: 140%;
margin-bottom:6pt;
font-weight:bold;
color:#660000;