Bug 336940 - incorrect font size when css font shorthand property is set to 'initial'
Summary: incorrect font size when css font shorthand property is set to 'initial'
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.13.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-01 17:31 UTC by Andrea Iacovitti
Modified: 2014-07-01 17:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.13.3
Sentry Crash Report:


Attachments
testcase (291 bytes, text/html)
2014-07-01 17:31 UTC, Andrea Iacovitti
Details

Note You need to log in before you can comment on or make changes to this bug.
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