Bug 336940

Summary: incorrect font size when css font shorthand property is set to 'initial'
Product: [Applications] konqueror Reporter: Andrea Iacovitti <aiacovitti>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.13.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.13.3
Sentry Crash Report:
Attachments: testcase

Description Andrea Iacovitti 2014-07-01 17:31:27 UTC
Created attachment 87503 [details]
testcase

Incorrect font size when css font shorthand property is set to 'initial'
Comment 1 Andrea Iacovitti 2014-07-01 17:45:35 UTC
Git commit 5833f849c2d262463bf9f6b25d6282a50b9cbe37 by Andrea Iacovitti.
Committed on 01/07/2014 at 17:32.
Pushed by aiacovitti into branch 'KDE/4.13'.

Set initial font size as FontDef() constructor initialize it to 0.

(I think a more correct fix here would be to explicitly set to 'initial' each shorthand
subproperty at parsing time and let the selector applies them individually)
FIXED-IN: 4.13.3

M  +2    -2    khtml/css/cssstyleselector.cpp

http://commits.kde.org/kdelibs/5833f849c2d262463bf9f6b25d6282a50b9cbe37