Bug 122673

Summary: Line heights not affected by 'Enlarge font'
Product: [Applications] konqueror Reporter: Yann Villessuzanne <linfir>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Problematic HTML

Description Yann Villessuzanne 2006-02-25 04:04:06 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Ubuntu Packages
OS:                Linux

Sometimes, in konqueror "Enlarge font" does not change the line-height, resulting quickly in an unreadable text.
This is very annoying and it is the main reason I can't use konqueror as my default webbrowser...


Specifically, the problem seems to appear when the text has a CSS style like:
    "font: 11px/13px verdana;"
but it works fine with either:
    "font: 11px verdana;"
or, much more surprisingly:
    "font: 11px/13px;"


I include a problematic HTML file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<style type="text/css">
body {
    font: 11px/13px verdana;
    /* The following lines do not trigger this problem:
        font: 11px/13px;
        font: 11px verdana;
     */
}
</style>
</head>

<body>

<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse
ullamcorper nisl non ipsum. Maecenas justo justo, venenatis ut, imperdiet eu,
hendrerit at, nunc. Nullam tincidunt varius tellus. Vestibulum ante ipsum
primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis eget
est. Nullam pulvinar consequat elit. Cras fermentum ante ultricies nunc. In
elementum orci in pede. Cras ut quam. Donec mattis orci eget magna. Suspendisse
felis erat, nonummy ut, congue in, fermentum quis, lorem. Suspendisse potenti.
Phasellus adipiscing risus eu mauris. Vestibulum pulvinar semper erat. Mauris
tincidunt ante non sapien. Duis a ante quis magna blandit lobortis. Class
aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos
hymenaeos. Suspendisse potenti. Mauris quis purus. Donec quis nisi non lorem
viverra pretium.
</p>


</body>

</html>
Comment 1 Yann Villessuzanne 2006-02-25 04:06:22 UTC
Created attachment 14861 [details]
Problematic HTML
Comment 2 Tommi Tervo 2006-02-25 13:27:11 UTC

*** This bug has been marked as a duplicate of 105145 ***